We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dfc376 commit 6117618Copy full SHA for 6117618
.github/workflows/service_docker-build-and-publish.yml
@@ -55,7 +55,7 @@ jobs:
55
if: inputs.checkout-type == 'latest-stable'
56
id: latest-stable-version
57
run: |
58
- echo "LATEST_STABLE_VERSION=$(curl --silent --header "Accept: application/vnd.github.v3.sha" "https://api.github.com/repos/jaydrogers/github-actions-test/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')" >> $GITHUB_OUTPUT
+ echo "LATEST_STABLE_VERSION=$(curl --silent --header "Accept: application/vnd.github.v3.sha" "$GITHUB_API_URL/repos/$GITHUB_REPOSITORY/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')" >> $GITHUB_OUTPUT
59
60
- name: Confirm release tag
61
0 commit comments