Closed
Description
the action is failing -
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
targets: aarch64-pc-windows-msvc
The Windows ARM 64 runners can be enabled from > Settings > Runners > New Runner > New Github Hosted Runner > Windows ARM64
the dtolnay/rust-toolchain@stable is failing with error message - bash: command not found
checkout for an actual run - https://github.com/BodhiSearch/rust-multiplatform/actions/runs/11520382847/job/32071558364
below is the log from the github action -
Run actions/cache@v3
with:
path: target
key: Windows-cargo-target-6e4035e9619ee15505419a740b[24](https://github.com/BodhiSearch/rust-multiplatform/actions/runs/11520382847/job/32071558364#step:3:26)073a839e077d70e087ce59c1f4c8e130f04d
restore-keys: Windows-cargo-target-
enableCrossOsArchive: false
fail-on-cache-miss: false
lookup-only: false
env:
CACHE_ON_FAILURE: false
CARGO_INCREMENTAL: 0
Cache not found for input keys: Windows-cargo-target-6e4035e9619ee15505419a740b24073a839e077d70e087ce59c1f4c8e1[30](https://github.com/BodhiSearch/rust-multiplatform/actions/runs/11520382847/job/32071558364#step:3:32)f04d, Windows-cargo-target-
Run dtolnay/rust-toolchain@stable
with:
targets: aarch64-pc-windows-msvc
toolchain: stable
env:
CACHE_ON_FAILURE: false
CARGO_INCREMENTAL: 0
Run : parse toolchain version
: parse toolchain version
if [[ $toolchain =~ ^stable' '[0-9]+' '(year|month|week|day)s?' 'ago$ ]]; then
if [[ Windows == macOS ]]; then
echo "toolchain=1.$((($(date -v-$(sed 's/stable \([0-9]*\) \(.\).*/\1\2/' <<< $toolchain) +%s)/60/60/24-16569)/7/6))" >> $GITHUB_OUTPUT
else
echo "toolchain=1.$((($(date --date "${toolchain#stable }" +%s)/60/60/24-16569)/7/6))" >> $GITHUB_OUTPUT
fi
elif [[ $toolchain =~ ^stable' 'minus' '[0-9]+' 'releases?$ ]]; then
echo "toolchain=1.$((($(date +%s)/60/60/24-16569)/7/6-${toolchain//[^0-9]/}))" >> $GITHUB_OUTPUT
else
echo "toolchain=$toolchain" >> $GITHUB_OUTPUT
fi
Error: bash: command not found
Metadata
Metadata
Assignees
Labels
No labels