Skip to content

Commit

Permalink
This request has been automatically failed because it uses a deprecat…
Browse files Browse the repository at this point in the history
…ed version of `actions/upload-artifact: v2`.
  • Loading branch information
liyujiang-gzu committed Dec 1, 2024
1 parent 1b6158a commit b644041
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,25 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout source code
uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew clean assembleRelease --info --warning-mode all

- name: Store android package
uses: actions/upload-artifact@v2
uses: ncipollo/[email protected]
with:
name: artifact
path: app/build/outputs/apk/pub/release/*.apk
if-no-files-found: warn
retention-days: 7
artifacts: "app/build/outputs/apk/pub/release/*.apk"
token: ${{ secrets.GITHUB_TOKEN }}
generateReleaseNotes: true

0 comments on commit b644041

Please sign in to comment.