Release assets seem to be ordered by name, and this action always grabs the first one. I’ve started adding .version files to GitHub release, and in the case of tweakscale rescaled the first asset is not always the actual release artifact that should be uploaded to spacedock.
https://github.com/JonnyOThan/TweakScale/releases/tag/3.2.4
|
echo "artifact-file=$(echo $(jq -r '.assets[0].name' release.json))" >> $GITHUB_OUTPUT |
Release assets seem to be ordered by name, and this action always grabs the first one. I’ve started adding .version files to GitHub release, and in the case of tweakscale rescaled the first asset is not always the actual release artifact that should be uploaded to spacedock.
https://github.com/JonnyOThan/TweakScale/releases/tag/3.2.4
KSPBuildTools/.github/actions/get-release-info/action.yml
Line 38 in 2a13249