Compare commits
No commits in common. "test" and "v1" have entirely different histories.
@ -186,10 +186,10 @@ runs:
|
||||
RUST_CACHE_PARAMETERS: ${{ inputs.rust-cache-parameters }}
|
||||
if: inputs.use-rust-cache == 'true'
|
||||
|
||||
# - name: Cache cargo & target directories
|
||||
# uses: Swatinem/rust-cache@v2
|
||||
# with: ${{ steps.parse-rust-cache-parameters.outputs }}
|
||||
# if: inputs.use-rust-cache == 'true'
|
||||
- name: Cache cargo & target directories
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with: ${{ steps.parse-rust-cache-parameters.outputs }}
|
||||
if: inputs.use-rust-cache == 'true'
|
||||
|
||||
- name: Run cargo test
|
||||
working-directory: ${{ inputs.working-directory }}
|
||||
|
||||
@ -9,6 +9,7 @@ VERSION=$1
|
||||
if [ -z "$VERSION" ]; then
|
||||
JSON=$(curl \
|
||||
--request GET \
|
||||
--header "Authorization: Bearer $GITHUB_TOKEN" \
|
||||
https://api.github.com/repos/cross-rs/cross/releases/latest)
|
||||
VERSION=$(echo "$JSON" | jq -r ".tag_name")
|
||||
fi
|
||||
|
||||
@ -26,5 +26,5 @@ curl --silent --location \
|
||||
https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.sh |
|
||||
sh
|
||||
# shellcheck disable=SC2086
|
||||
GITHUB_TOKEN= ./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS
|
||||
./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS
|
||||
CROSS_NO_WARNINGS=0 ./cross --version
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user