Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
italankin committed Nov 28, 2023
1 parent 42c2b0f commit 39d5c23
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ jobs:
MAPPINGS_OUTPUT_PATH: 'launcher/build/outputs/mapping/release'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1

- name: set up jdk
uses: actions/setup-java@v1
uses: actions/setup-java@v3.13.0
with:
java-version: 1.11
java-version: 1.17
distribution: zulu

- name: decode keystore
uses: italankin/android-keystore-decode-action@v1
Expand All @@ -46,15 +47,15 @@ jobs:
run: mv "$OUTPUT_PATH/launcher-release.apk" "$OUTPUT_PATH/lnch-${{ steps.current_tag.outputs.tag }}.apk"

- name: release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@v1.13.0
with:
artifacts: "${{ env.OUTPUT_PATH }}/*.apk"
prerelease: true
allowUpdates: true
token: ${{ secrets.GITHUB_TOKEN }}

- name: save mapping.txt
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3.1.3
with:
name: mapping.txt
path: ${{ env.MAPPINGS_OUTPUT_PATH }}/mapping.txt
Expand Down

0 comments on commit 39d5c23

Please sign in to comment.