Skip to content

Get-release-info action: Add a way to select an asset #43

@JonnyOThan

Description

@JonnyOThan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgithub-actionsRelates to github actions and workflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions