-
-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This request has been automatically failed because it uses a deprecat…
…ed version of `actions/upload-artifact: v2`.
- Loading branch information
1 parent
1b6158a
commit b644041
Showing
1 changed file
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |