Update GitHub workflows to fix deprecated actions

This commit is contained in:
Rafael Caetano 2024-06-16 18:58:38 +01:00
parent aaf4e4304d
commit e3dd0de3ba
3 changed files with 16 additions and 16 deletions

View File

@ -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:
@ -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

View File

@ -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:
@ -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: |

View File

@ -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:
@ -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: |
@ -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:
@ -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: |