citra-emu
/
citra-canary
Archived
1
0
Fork 0

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
This commit is contained in:
Frazer Smith 2022-05-15 06:31:34 +01:00 committed by GitHub
parent 44e1f2319f
commit c864bf1b0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 18 deletions

View File

@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: citraemu/build-environments:linux-clang-format container: citraemu/build-environments:linux-clang-format
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Build - name: Build
@ -26,11 +26,11 @@ jobs:
image: ["linux-fresh", "linux-frozen", "linux-mingw"] image: ["linux-fresh", "linux-frozen", "linux-mingw"]
container: citraemu/build-environments:${{ matrix.image }} container: citraemu/build-environments:${{ matrix.image }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Set up cache - name: Set up cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.ccache path: ~/.ccache
key: ${{ runner.os }}-${{ matrix.image }}-${{ github.sha }} key: ${{ runner.os }}-${{ matrix.image }}-${{ github.sha }}
@ -49,7 +49,7 @@ jobs:
env: env:
NAME: ${{ matrix.image }} NAME: ${{ matrix.image }}
- name: Upload - name: Upload
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
if: ${{ matrix.image != 'linux-frozen' }} if: ${{ matrix.image != 'linux-frozen' }}
with: with:
name: ${{ matrix.image }} name: ${{ matrix.image }}
@ -57,11 +57,11 @@ jobs:
macos: macos:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Set up cache - name: Set up cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/Library/Caches/ccache path: ~/Library/Caches/ccache
key: ${{ runner.os }}-macos-${{ github.sha }} key: ${{ runner.os }}-macos-${{ github.sha }}
@ -80,18 +80,18 @@ jobs:
- name: Pack - name: Pack
run: ./.ci/macos/upload.sh run: ./.ci/macos/upload.sh
- name: Upload - name: Upload
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: macos name: macos
path: artifacts/ path: artifacts/
windows: windows:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Set up cache - name: Set up cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: ~/.buildcache path: ~/.buildcache
key: ${{ runner.os }}-win-${{ github.sha }} key: ${{ runner.os }}-win-${{ github.sha }}
@ -110,11 +110,11 @@ jobs:
android: android:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Set up cache - name: Set up cache
uses: actions/cache@v2 uses: actions/cache@v3
with: with:
path: | path: |
~/.gradle/caches ~/.gradle/caches
@ -135,7 +135,7 @@ jobs:
- name: Copy artifacts - name: Copy artifacts
run: ./.ci/android/upload.sh run: ./.ci/android/upload.sh
- name: Upload - name: Upload
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: android name: android
path: artifacts/ path: artifacts/
@ -144,7 +144,7 @@ jobs:
container: citraemu/build-environments:linux-transifex container: citraemu/build-environments:linux-transifex
if: ${{ github.repository == 'citra-emu/citra' && !github.head_ref }} if: ${{ github.repository == 'citra-emu/citra' && !github.head_ref }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
submodules: recursive submodules: recursive
- name: Update Translation - name: Update Translation
@ -156,7 +156,7 @@ jobs:
needs: [build, macos] needs: [build, macos]
if: ${{ startsWith(github.ref, 'refs/tags/') }} if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps: steps:
- uses: actions/download-artifact@v2 - uses: actions/download-artifact@v3
- name: Query tag name - name: Query tag name
uses: little-core-labs/get-git-tag@v3.0.2 uses: little-core-labs/get-git-tag@v3.0.2
id: tagName id: tagName

View File

@ -20,7 +20,7 @@ jobs:
if: ${{ github.event.inputs.nightly != 'false' && github.repository == 'citra-emu/citra' }} if: ${{ github.event.inputs.nightly != 'false' && github.repository == 'citra-emu/citra' }}
steps: steps:
# this checkout is required to make sure the GitHub Actions scripts are available # this checkout is required to make sure the GitHub Actions scripts are available
- uses: actions/checkout@v2 - uses: actions/checkout@v3
name: Pre-checkout name: Pre-checkout
with: with:
submodules: false submodules: false
@ -38,7 +38,7 @@ jobs:
return checkBaseChanges(github, context); return checkBaseChanges(github, context);
- run: npm install execa@5 - run: npm install execa@5
if: ${{ steps.check-changes.outputs.result == 'true' }} if: ${{ steps.check-changes.outputs.result == 'true' }}
- uses: actions/checkout@v2 - uses: actions/checkout@v3
name: Checkout name: Checkout
if: ${{ steps.check-changes.outputs.result == 'true' }} if: ${{ steps.check-changes.outputs.result == 'true' }}
with: with:
@ -62,7 +62,7 @@ jobs:
if: ${{ github.event.inputs.canary != 'false' && github.repository == 'citra-emu/citra' }} if: ${{ github.event.inputs.canary != 'false' && github.repository == 'citra-emu/citra' }}
steps: steps:
# this checkout is required to make sure the GitHub Actions scripts are available # this checkout is required to make sure the GitHub Actions scripts are available
- uses: actions/checkout@v2 - uses: actions/checkout@v3
name: Pre-checkout name: Pre-checkout
with: with:
submodules: false submodules: false
@ -79,7 +79,7 @@ jobs:
return checkCanaryChanges(github, context); return checkCanaryChanges(github, context);
- run: npm install execa@5 - run: npm install execa@5
if: ${{ steps.check-changes.outputs.result == 'true' }} if: ${{ steps.check-changes.outputs.result == 'true' }}
- uses: actions/checkout@v2 - uses: actions/checkout@v3
name: Checkout name: Checkout
if: ${{ steps.check-changes.outputs.result == 'true' }} if: ${{ steps.check-changes.outputs.result == 'true' }}
with: with: