Merge branch 'master' into feat-localize-difficulty-save-menu

This commit is contained in:
poly000 2024-03-25 02:35:43 +08:00 committed by GitHub
commit 7fe7084e8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 9 deletions

View File

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