Skip to content

Commit

Permalink
build: use github cli
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanvc committed Sep 30, 2023
1 parent 7d68104 commit adca22d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
run: ./gradlew assembleRelease
- name: Set current directory as a safe repository
run: git config --global --add safe.directory /github/workspace
- uses: geertvdc/setup-hub@master
- name: Release using hub
run: hub release create -a ./app/build/outputs/apk/release/**.apk -m "v${GITHUB_REF##*/}" ${GITHUB_REF##*/}
- uses: ButterCam/setup-github-cli@master
- name: Release using github cli
run: gh release create ${GITHUB_REF##*/} ./app/build/outputs/apk/release/**.apk
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit adca22d

Please sign in to comment.