Skip to content

Commit adca22d

Browse files
committed
build: use github cli
1 parent 7d68104 commit adca22d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
run: ./gradlew assembleRelease
2323
- name: Set current directory as a safe repository
2424
run: git config --global --add safe.directory /github/workspace
25-
- uses: geertvdc/setup-hub@master
26-
- name: Release using hub
27-
run: hub release create -a ./app/build/outputs/apk/release/**.apk -m "v${GITHUB_REF##*/}" ${GITHUB_REF##*/}
25+
- uses: ButterCam/setup-github-cli@master
26+
- name: Release using github cli
27+
run: gh release create ${GITHUB_REF##*/} ./app/build/outputs/apk/release/**.apk
2828
env:
29-
GITHUB_TOKEN: ${{ secrets.TOKEN }}
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)