try setup toolchain in windows
Some checks failed
build / Create Release (push) Successful in 7s
build / publish (zip, x86_64-pc-windows-msvc, windows-2022, windows-x86_64) (push) Failing after 14s
build / publish (tar.gz, x86_64-unknown-linux-gnu, ubuntu-latest, linux-x86_64) (push) Has been cancelled

This commit is contained in:
2024-07-12 13:08:43 +02:00
parent 3b76f31071
commit bbc9489692

View File

@@ -45,15 +45,15 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup Rust toolchain and cache - name: Setup Rust toolchain and cache
if: matrix.platform != 'windows-2022' # if: matrix.platform != 'windows-2022'
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1
with: with:
toolchain: nightly toolchain: nightly
- name: Ensure rust is up to date # - name: Ensure rust is up to date
if: matrix.platform == 'windows-2022' # if: matrix.platform == 'windows-2022'
run: | # run: |
rustup update # rustup update
rustup toolchain install nightly # rustup toolchain install nightly
- name: Create output directory - name: Create output directory
run: mkdir -f output run: mkdir -f output
- name: Build release - name: Build release