Skip to content
Myr

CI: using the bash shell to setup cargo cmd

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Miles Liu · committed by Miles Liu · parent b389f41 · Browse files · 1 file+4 added−6 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−6 removed

  • other:+4 added−6 removed

1 file+4 added−6 removed

modified:.github/workflows/CICD.yml+4 added-6 removed
109 unmodified lines
110 cargo -V111 rustc -V112113 - name: Set cargo cmd114 run: |115 echo "CARGO_CMD=cargo" >> $GITHUB_ENV116 echo "CARGO_CMD=cargo" >> $Env:GITHUB_ENV114 shell: bash115 run: echo "CARGO_CMD=cargo" >> $GITHUB_ENV116117 - name: Set cargo cmd to cross118 shell: bash119 if: ${{ matrix.job.use-cross == true }}120 run: |121 echo "CARGO_CMD=cross" >> $GITHUB_ENV120 run: echo "CARGO_CMD=cross" >> $GITHUB_ENV122 echo "CARGO_CMD=cross" >> $Env:GITHUB_ENV121122 - name: Rust cache123 uses: Swatinem/rust-cache@v2124 with:
239 unmodified lines