We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b57b9 commit 68fa2dbCopy full SHA for 68fa2db
1 file changed
.github/workflows/CICD.yml
@@ -134,10 +134,18 @@ jobs:
134
135
- name: Install cross
136
if: matrix.job.use-cross
137
- uses: taiki-e/install-action@6f9c7cc51aa54b13cbcbd12f8bbf69d8ba405b4b # v2.62.47
138
- with:
139
- tool: cross
140
-
+ env:
+ cross_version: "v0.2.5"
+ package_name: "cross-x86_64-unknown-linux-gnu.tar.gz"
+ GH_TOKEN: "${{ github.token }}"
141
+ run: |
142
+ dir="$HOME/.local/bin/"
143
+ mkdir -p "$dir"
144
+ gh release download --repo cross-rs/cross \
145
+ --pattern "${package_name}" -O - "${cross_version}" \
146
+ | tar -C "$dir" -xz
147
+ echo "$dir" >> $GITHUB_PATH
148
+ echo "Installed cross $cross_version" >> $GITHUB_STEP_SUMMARY
149
- name: Show version information (Rust, cargo, GCC)
150
shell: bash
151
run: |
0 commit comments