mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-05-12 16:41:50 +08:00
fix workflow
This commit is contained in:
parent
47c1ce0331
commit
959738b172
14
.github/workflows/windows_nightly.yml
vendored
14
.github/workflows/windows_nightly.yml
vendored
@ -12,8 +12,13 @@ jobs:
|
|||||||
- name: Set up Flutter
|
- name: Set up Flutter
|
||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
channel: 'stable'
|
||||||
- run: flutter --version
|
cache: true
|
||||||
|
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
|
||||||
|
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
|
||||||
- name: Set up Rust
|
- name: Set up Rust
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
- run: rustup --version
|
- run: rustup --version
|
||||||
@ -23,7 +28,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: "17.0.2"
|
version: "17.0.2"
|
||||||
- name: Clean Pub Git Cache
|
- name: Clean Pub Git Cache
|
||||||
run: Remove-Item -Path "C:\Users\runneradmin\.pub-cache\git\*" -Recurse -Force
|
run: |
|
||||||
|
if (Test-Path "C:\Users\runneradmin\.pub-cache\git\") {
|
||||||
|
Remove-Item -Path "C:\Users\runneradmin\.pub-cache\git\*" -Recurse -Force
|
||||||
|
}
|
||||||
shell: powershell
|
shell: powershell
|
||||||
- name: Flutter pub get
|
- name: Flutter pub get
|
||||||
run: flutter pub get
|
run: flutter pub get
|
||||||
|
Loading…
x
Reference in New Issue
Block a user