diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 57306c2b0b..8d34359021 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -12,12 +12,12 @@ jobs: sudo apt-get update sudo apt-get -y install ccache libcurl4-openssl-dev ninja-build - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' @@ -35,7 +35,7 @@ jobs: env: SENTRY_UPLOAD_URL: ${{ secrets.SENTRY_UPLOAD_URL }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: flycast-release.apk path: shell/android-studio/flycast/build/outputs/apk/release/flycast-release.apk @@ -60,7 +60,7 @@ jobs: - name: Configure AWS Credentials id: aws-credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: AKIAJOZQS4H2PHQWYFCA aws-secret-access-key: ${{ secrets.S3_SECRET_KEY }} diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 8c09c57f63..adcafce260 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -66,7 +66,7 @@ jobs: arch: ${{ matrix.config.arch }} if: matrix.config.shell == 'cmd' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true @@ -125,7 +125,7 @@ jobs: rm artifact/bin/flycast if: matrix.config.name == 'x86_64-pc-linux-gnu' - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: flycast-${{ matrix.config.name }} path: artifact/bin @@ -144,7 +144,7 @@ jobs: - name: Configure AWS Credentials id: aws-credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: AKIAJOZQS4H2PHQWYFCA aws-secret-access-key: ${{ secrets.S3_SECRET_KEY }} diff --git a/.github/workflows/crowdin_prep.yml b/.github/workflows/crowdin_prep.yml index b3dff6f53d..eeb03b7099 100644 --- a/.github/workflows/crowdin_prep.yml +++ b/.github/workflows/crowdin_prep.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Java JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 18 distribution: zulu @@ -26,7 +26,7 @@ jobs: python-version: '3.10' - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Upload Source shell: bash diff --git a/.github/workflows/crowdin_translate.yml b/.github/workflows/crowdin_translate.yml index a67a719bab..a1423a5d4f 100644 --- a/.github/workflows/crowdin_translate.yml +++ b/.github/workflows/crowdin_translate.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Java JDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: 18 distribution: zulu @@ -23,7 +23,7 @@ jobs: python-version: '3.10' - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. diff --git a/.github/workflows/switch.yml b/.github/workflows/switch.yml index 7d27e21b2a..3dec1be14c 100644 --- a/.github/workflows/switch.yml +++ b/.github/workflows/switch.yml @@ -20,7 +20,7 @@ jobs: sudo apt-get update sudo apt-get -y install awscli ccache ninja-build - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true @@ -36,7 +36,7 @@ jobs: $DEVKITPRO/portlibs/switch/bin/aarch64-none-elf-cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=artifact -G Ninja ${{ matrix.config.cmakeArgs }} cmake --build build --config Release --target install - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: flycast-switch-${{ matrix.config.name }} path: artifact/bin @@ -47,7 +47,7 @@ jobs: - name: Configure AWS Credentials id: aws-credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: AKIAJOZQS4H2PHQWYFCA aws-secret-access-key: ${{ secrets.S3_SECRET_KEY }} diff --git a/.github/workflows/uwp.yml b/.github/workflows/uwp.yml index 50ded653b7..41b0a067f1 100644 --- a/.github/workflows/uwp.yml +++ b/.github/workflows/uwp.yml @@ -11,7 +11,7 @@ jobs: VCPKG_DEFAULT_BINARY_CACHE: ${{ github.workspace }}/vcpkg/bincache steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true @@ -49,14 +49,14 @@ jobs: run: signtool sign /f shell\uwp\sign_cert.pfx /p '${{ secrets.SIGN_CERT_PWD }}' /v /fd SHA256 build\artifact\flycast.appx if: github.repository == 'flyinghead/flycast' && github.event_name == 'push' - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: flycast-uwp path: build/artifact - name: Configure AWS Credentials id: aws-credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: AKIAJOZQS4H2PHQWYFCA aws-secret-access-key: ${{ secrets.S3_SECRET_KEY }}