mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
release: create the GitHub release with the gh CLI
Drop the third-party action in favour of GitHub's own gh CLI, which the hosted runners already provide.
This commit is contained in:
@@ -61,7 +61,10 @@ jobs:
|
||||
- name: Collect release APK
|
||||
run: cp app/build/outputs/apk/release/app-release.apk subtracks.apk
|
||||
- name: Create GitHub release
|
||||
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3
|
||||
with:
|
||||
body_path: metadata/en-US/changelogs/${{ steps.version.outputs.code }}.txt
|
||||
files: subtracks.apk
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
gh release create "$GITHUB_REF_NAME" subtracks.apk \
|
||||
--verify-tag \
|
||||
--title "$GITHUB_REF_NAME" \
|
||||
--notes-file "metadata/en-US/changelogs/${{ steps.version.outputs.code }}.txt"
|
||||
|
||||
Reference in New Issue
Block a user