From c864bf1b0fa012a5ed79e400421cef48c2ba2f7b Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Sun, 15 May 2022 06:31:34 +0100 Subject: [PATCH] ci: bump github actions (#6026) * ci: bump actions/checkout from 2 to 3 * ci: bump actions/cache from 2 to 3 * ci: bump actions/upload-artifact from 2 to 3 * ci: bump actions/download-artifact from 2 to 3 --- .github/workflows/ci.yml | 28 ++++++++++++++-------------- .github/workflows/publish.yml | 8 ++++---- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5381af829..3203e62bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest container: citraemu/build-environments:linux-clang-format steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Build @@ -26,11 +26,11 @@ jobs: image: ["linux-fresh", "linux-frozen", "linux-mingw"] container: citraemu/build-environments:${{ matrix.image }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: recursive - name: Set up cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.ccache key: ${{ runner.os }}-${{ matrix.image }}-${{ github.sha }} @@ -49,7 +49,7 @@ jobs: env: NAME: ${{ matrix.image }} - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: ${{ matrix.image != 'linux-frozen' }} with: name: ${{ matrix.image }} @@ -57,11 +57,11 @@ jobs: macos: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: recursive - name: Set up cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/Library/Caches/ccache key: ${{ runner.os }}-macos-${{ github.sha }} @@ -80,18 +80,18 @@ jobs: - name: Pack run: ./.ci/macos/upload.sh - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: macos path: artifacts/ windows: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: recursive - name: Set up cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.buildcache key: ${{ runner.os }}-win-${{ github.sha }} @@ -110,11 +110,11 @@ jobs: android: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: recursive - name: Set up cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.gradle/caches @@ -135,7 +135,7 @@ jobs: - name: Copy artifacts run: ./.ci/android/upload.sh - name: Upload - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: android path: artifacts/ @@ -144,7 +144,7 @@ jobs: container: citraemu/build-environments:linux-transifex if: ${{ github.repository == 'citra-emu/citra' && !github.head_ref }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: recursive - name: Update Translation @@ -156,7 +156,7 @@ jobs: needs: [build, macos] if: ${{ startsWith(github.ref, 'refs/tags/') }} steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 - name: Query tag name uses: little-core-labs/get-git-tag@v3.0.2 id: tagName diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3bde327c2..388f3556b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,7 +20,7 @@ jobs: if: ${{ github.event.inputs.nightly != 'false' && github.repository == 'citra-emu/citra' }} steps: # this checkout is required to make sure the GitHub Actions scripts are available - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 name: Pre-checkout with: submodules: false @@ -38,7 +38,7 @@ jobs: return checkBaseChanges(github, context); - run: npm install execa@5 if: ${{ steps.check-changes.outputs.result == 'true' }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 name: Checkout if: ${{ steps.check-changes.outputs.result == 'true' }} with: @@ -62,7 +62,7 @@ jobs: if: ${{ github.event.inputs.canary != 'false' && github.repository == 'citra-emu/citra' }} steps: # this checkout is required to make sure the GitHub Actions scripts are available - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 name: Pre-checkout with: submodules: false @@ -79,7 +79,7 @@ jobs: return checkCanaryChanges(github, context); - run: npm install execa@5 if: ${{ steps.check-changes.outputs.result == 'true' }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 name: Checkout if: ${{ steps.check-changes.outputs.result == 'true' }} with: