Skip to content

No artifacts published after in v0.8 compiler release #1057

@greenhat

Description

@greenhat

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).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions