Skip to content

Commit

Permalink
search for latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
McCallisterRomer committed May 31, 2024
1 parent 9409b03 commit 2c38807
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ runs:
if [ -n "$ACTION_TAG" ]; then
echo "vk-ci-action-tag=$ACTION_TAG" >> "$GITHUB_OUTPUT"
else
echo "vk-ci-action-tag=latest" >> "$GITHUB_OUTPUT"
LATEST_TAG=$(curl -s \
"https://api.github.com/repos/NcStudios/VulkanCI/releases/latest" \
| jq -r .tag_name)
echo "vk-ci-action-tag=$LATEST_TAG" >> "$GITHUB_OUTPUT"
fi
- name: Download Artifacts
Expand Down

0 comments on commit 2c38807

Please sign in to comment.