mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-10-31 19:44:20 +00:00
ci: migrate to node 20 actions (#261)
This commit is contained in:
parent
9c95b20f5c
commit
0e0cd66564
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
@ -59,13 +59,13 @@ jobs:
|
||||||
target_name: mac-arm64
|
target_name: mac-arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||||
run: sudo apt install libasound2-dev libudev-dev libgl1-mesa-dev
|
run: sudo apt install libasound2-dev libudev-dev libgl1-mesa-dev
|
||||||
|
|
||||||
- name: Restore cache
|
- name: Restore cache
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo
|
~/.cargo
|
||||||
|
@ -111,7 +111,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: doukutsu-rs_${{ matrix.target_name }}
|
name: doukutsu-rs_${{ matrix.target_name }}
|
||||||
path: ./release/*
|
path: ./release/*
|
||||||
|
@ -119,7 +119,7 @@ jobs:
|
||||||
|
|
||||||
- name: Save cache
|
- name: Save cache
|
||||||
if: ${{ github.ref_name == 'master' || github.ref_type == 'tag' }}
|
if: ${{ github.ref_name == 'master' || github.ref_type == 'tag' }}
|
||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo
|
~/.cargo
|
||||||
|
@ -135,9 +135,9 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: true
|
fail-fast: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Restore cache
|
- name: Restore cache
|
||||||
uses: actions/cache/restore@v3
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache
|
~/.cache
|
||||||
|
@ -191,7 +191,7 @@ jobs:
|
||||||
cp LICENSE ./release
|
cp LICENSE ./release
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: doukutsu-rs_android
|
name: doukutsu-rs_android
|
||||||
path: ./release/*
|
path: ./release/*
|
||||||
|
@ -199,7 +199,7 @@ jobs:
|
||||||
|
|
||||||
- name: Save cache
|
- name: Save cache
|
||||||
if: ${{ github.ref_name == 'master' || github.ref_type == 'tag' }}
|
if: ${{ github.ref_name == 'master' || github.ref_type == 'tag' }}
|
||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache
|
~/.cache
|
||||||
|
@ -219,7 +219,7 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: doukutsu-rs/metadata
|
repository: doukutsu-rs/metadata
|
||||||
token: ${{ secrets.METADATA_USER_TOKEN }}
|
token: ${{ secrets.METADATA_USER_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue