mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/LocalizationData.git
synced 2025-03-10 19:01:26 +08:00
feat: use cargo install to cache bin
This commit is contained in:
parent
218b40de66
commit
0d5d1db927
5
.github/workflows/auto_release.yml
vendored
5
.github/workflows/auto_release.yml
vendored
@ -30,9 +30,10 @@ jobs:
|
||||
prefix-key: "rs_cache"
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
shared-key: "share"
|
||||
|
||||
- name: Setup localization runner tools
|
||||
run: cargo install --path ./runner_tools/localization
|
||||
- name: Auto Release
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
GH_REPO: ${{ github.repository }}
|
||||
run: cargo run --release --manifest-path ./runner_tools/localization/Cargo.toml -- -m auto_release
|
||||
run: localization -m auto_release
|
5
.github/workflows/pr_check.yml
vendored
5
.github/workflows/pr_check.yml
vendored
@ -33,10 +33,11 @@ jobs:
|
||||
prefix-key: "rs_cache"
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
shared-key: "share"
|
||||
|
||||
- name: Setup localization runner tools
|
||||
run: cargo install --path ./runner_tools/localization
|
||||
- name: PR Check
|
||||
env:
|
||||
GH_REPO: ${{ github.repository }}
|
||||
GH_PR_NUMBER: ${{ github.event.pull_request.id }}
|
||||
GH_PR_TITLE: ${{ github.event.pull_request.title }}
|
||||
run: cargo run --release --manifest-path ./runner_tools/localization/Cargo.toml -- -m pr_check
|
||||
run: localization -m pr_check
|
Loading…
x
Reference in New Issue
Block a user