Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
newmanw committed Sep 25, 2023
1 parent 2b514e4 commit d08b8b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: '17'
- name: Checkout App Branch
Expand All @@ -40,7 +40,7 @@ jobs:
-PRELEASE_MAPS_API_KEY=${{ secrets.MAPS_API_KEY }} \
-PVERSION_CODE=${{ steps.version_code.outputs.value }}
- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: mage-release.apk
path: mage/build/outputs/apk/release/mage-release.apk
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup JDK 11
uses: actions/setup-java@v1
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '11'
java-version: '17'
- name: Setup Keystore
run: |
echo "${{ secrets.KEYSTORE }}" > release.b64
Expand Down Expand Up @@ -46,6 +46,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.url.outputs.upload_url }}
asset_path: mage/build/outputs/apk/defaults/release/mage-defaults-release.apk
asset_name: mage-defaults-release.apk
asset_path: mage/build/outputs/apk/release/mage-release.apk
asset_name: mage-release.apk
asset_content_type: application/octet-stream

0 comments on commit d08b8b6

Please sign in to comment.