File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,14 @@ jobs:
144144 --exclude="examples" \
145145 .
146146
147+ # Save the sha256 checksum of the distro archive to the environment
148+ sha256_base64="$(shasum --algorithm 256 ${{ github.workspace }}/.github/rules_rust.tar.gz | awk '{ print $1 }' | xxd -r -p | base64)"
149+ echo "ARCHIVE_SHA256_BASE64=${sha256_base64}" >> $GITHUB_ENV
150+ env :
151+ CARGO_BAZEL_GENERATOR_URL : file://${{ github.workspace }}/crate_universe/target/artifacts/x86_64-unknown-linux-gnu/cargo-bazel
152+ ARTIFACTS_DIR : ${{ github.workspace }}/crate_universe/target/artifacts
153+ URL_PREFIX : https://github.com/${{ github.repository_owner }}/rules_rust/releases/download/${{ env.RELEASE_VERSION }}
154+
147155 # Upload the artifact in case creating a release fails so all artifacts can then be manually recovered.
148156 - uses : actions/upload-artifact@v3
149157 with :
You can’t perform that action at this time.
0 commit comments