Update flutter-build.yml

This commit is contained in:
deep-soft 2023-11-22 23:09:56 +02:00 committed by GitHub
parent a2920578a1
commit bb388628a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,12 +78,11 @@ jobs:
mv -Force windows-x64-release/* C:/hostedtoolcache/windows/flutter/stable-${{ env.FLUTTER_VERSION }}-x64/bin/cache/artifacts/engine/windows-x64-release/ mv -Force windows-x64-release/* C:/hostedtoolcache/windows/flutter/stable-${{ env.FLUTTER_VERSION }}-x64/bin/cache/artifacts/engine/windows-x64-release/
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
target: ${{ matrix.job.target }} targets: ${{ matrix.job.target }}
override: true components: ''
profile: minimal # minimal component installation (ie, no documentation)
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
@ -198,12 +197,11 @@ jobs:
version: ${{ env.LLVM_VERSION }} version: ${{ env.LLVM_VERSION }}
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@v1
with: with:
toolchain: nightly-${{ matrix.job.target }} toolchain: nightly-${{ matrix.job.target }}
target: ${{ matrix.job.target }} targets: ${{ matrix.job.target }}
override: true components: ''
profile: minimal # minimal component installation (ie, no documentation)
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
@ -358,12 +356,11 @@ jobs:
flutter-version: ${{ env.FLUTTER_VERSION }} flutter-version: ${{ env.FLUTTER_VERSION }}
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
target: ${{ matrix.job.target }} targets: ${{ matrix.job.target }}
override: true components: ''
profile: minimal # minimal component installation (ie, no documentation)
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
@ -481,12 +478,11 @@ jobs:
shell: bash shell: bash
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
target: ${{ matrix.job.target }} targets: ${{ matrix.job.target }}
override: true components: ''
profile: minimal # minimal component installation (ie, no documentation)
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
@ -634,11 +630,10 @@ jobs:
path: ./ path: ./
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
override: true components: ''
profile: minimal # minimal component installation (ie, no documentation)
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
@ -799,12 +794,11 @@ jobs:
free -m free -m
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
target: ${{ matrix.job.target }} targets: ${{ matrix.job.target }}
override: true components: ''
profile: minimal # minimal component installation (ie, no documentation)
- name: Save Rust toolchain version - name: Save Rust toolchain version
run: | run: |
@ -1009,12 +1003,11 @@ jobs:
free -m free -m
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
target: ${{ matrix.job.target }} targets: ${{ matrix.job.target }}
override: true components: ''
profile: minimal # minimal component installation (ie, no documentation)
- name: Save Rust toolchain version - name: Save Rust toolchain version
run: | run: |
@ -1202,12 +1195,11 @@ jobs:
free -m free -m
- name: Install Rust toolchain - name: Install Rust toolchain
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@v1
with: with:
toolchain: stable toolchain: stable
target: ${{ matrix.job.target }} targets: ${{ matrix.job.target }}
override: true components: ''
profile: minimal # minimal component installation (ie, no documentation)
- name: Save Rust toolchain version - name: Save Rust toolchain version
run: | run: |