ci: Use softprops/action-gh-release rather than actions/create-release.
actions/create-release is archived so better to use a maintained action [1].
[1]
@@ -687,14 +687,10 @@ jobs:
- uses: actions/checkout@v3
- name: Create Release
id: create_release
- uses: actions/create-release@v1.0.0
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ uses: softprops/action-gh-release@v1
with:
- tag_name: ${{ github.ref }}
- release_name: Release ${{ github.ref }}
- draft: false
- prerelease: false
+ token: ${{ secrets.GITHUB_TOKEN }}
+ name: Release ${{ github.ref }}
- name: Get all artifacts.
uses: actions/download-artifact@v2
- name: Upload Gadget Release *-gadget-*-*.tar.gz
