See https://github.com/0xMiden/compiler/actions/runs/24030329439/job/70077816353
Why
The reason is that the crate cargo-miden was not published before this job because it was published in the previous runs. We use this crate to determine the release tag in
|
release_tag=$(echo "${RELEASES}" | jq -r '.[] | select(.package_name == "cargo-miden") | .tag' | head -n1) |
|
if [ -z "${release_tag}" ] || [ "${release_tag}" = "null" ]; then |
|
echo "cargo-miden crate was not released in this run. Skipping artifact upload." |
|
echo "release_tag=" >> "${GITHUB_OUTPUT}" |
|
exit 0 |
|
fi |
How to fix
Option 1. Use any crate (except SDK crates) to determine the release tag.
Option 2. Do #1058 (token that allows publishing new packages).
See https://github.com/0xMiden/compiler/actions/runs/24030329439/job/70077816353
Why
The reason is that the crate
cargo-midenwas not published before this job because it was published in the previous runs. We use this crate to determine the release tag incompiler/.github/workflows/release.yml
Lines 83 to 88 in 3b25200
How to fix
Option 1. Use any crate (except SDK crates) to determine the release tag.
Option 2. Do #1058 (token that allows publishing new packages).