Skip to content

Commit

Permalink
Update GitHub workflows to fix deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelvcaetano committed Jun 16, 2024
1 parent aaf4e43 commit e3dd0de
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ jobs:
steps:

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: zulu
cache: gradle

- name: Setup Android SDK
uses: android-actions/setup-android@v2
uses: android-actions/setup-android@v3

- name: Build melonDS Android
env:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
artifactContentType: application/vnd.android.package-archive

- name: Upload Artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: melonDS-android
path: app/build/outputs/apk/gitHubNightly/release/app-gitHub-nightly-release.apk
8 changes: 4 additions & 4 deletions .github/workflows/release-playstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: zulu

- name: Setup Android SDK
uses: android-actions/setup-android@v2
uses: android-actions/setup-android@v3

- name: Build melonDS Android
env:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
debugSymbols: app/build/outputs/native-debug-symbols/playStoreProdRelease/native-debug-symbols.zip

- name: Upload APK, Mapping and Debug Symbols
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: playstore-release
path: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: zulu

- name: Setup Android SDK
uses: android-actions/setup-android@v2
uses: android-actions/setup-android@v3

- name: Build melonDS Android
env:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
artifactContentType: application/vnd.android.package-archive

- name: Upload APK, Mapping and Debug Symbols
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: github-release
path: |
Expand All @@ -68,17 +68,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: zulu

- name: Setup Android SDK
uses: android-actions/setup-android@v2
uses: android-actions/setup-android@v3

- name: Build melonDS Android
env:
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
debugSymbols: app/build/outputs/native-debug-symbols/playStoreProdRelease/native-debug-symbols.zip

- name: Upload APK, Mapping and Debug Symbols
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: playstore-release
path: |
Expand Down

0 comments on commit e3dd0de

Please sign in to comment.