mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-05-12 20:11:25 +08:00
FIX workflow
This commit is contained in:
parent
959738b172
commit
a027f54210
10
.github/workflows/windows_nightly.yml
vendored
10
.github/workflows/windows_nightly.yml
vendored
@ -10,14 +10,12 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Set up Flutter
|
- name: Set up Flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2.12.0
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
cache: true
|
cache: true
|
||||||
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache
|
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache
|
||||||
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path
|
cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path
|
||||||
pub-cache-key: 'flutter-pub:os:-:channel:-:version:-:arch:-:hash:' # optional, change this to force refresh cache of dart pub get dependencies
|
|
||||||
pub-cache-path: '${{ runner.tool_cache }}/flutter/:channel:-:version:-:arch:' # optional, change this to specify the cache path
|
|
||||||
- run: flutter --version
|
- run: flutter --version
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
@ -27,12 +25,6 @@ jobs:
|
|||||||
uses: KyleMayes/install-llvm-action@v1
|
uses: KyleMayes/install-llvm-action@v1
|
||||||
with:
|
with:
|
||||||
version: "17.0.2"
|
version: "17.0.2"
|
||||||
- name: Clean Pub Git Cache
|
|
||||||
run: |
|
|
||||||
if (Test-Path "C:\Users\runneradmin\.pub-cache\git\") {
|
|
||||||
Remove-Item -Path "C:\Users\runneradmin\.pub-cache\git\*" -Recurse -Force
|
|
||||||
}
|
|
||||||
shell: powershell
|
|
||||||
- name: Flutter pub get
|
- name: Flutter pub get
|
||||||
run: flutter pub get
|
run: flutter pub get
|
||||||
- name: Set up Flutter rust bridge
|
- name: Set up Flutter rust bridge
|
||||||
|
Loading…
x
Reference in New Issue
Block a user