From 088c14c5c80194d4a65ebf30bb98ff80ffbdacb2 Mon Sep 17 00:00:00 2001 From: NanuIjaz <122975171+NanuIjaz@users.noreply.github.com> Date: Sun, 28 Jan 2024 10:14:29 +0530 Subject: [PATCH] Update create-release.yaml --- .github/workflows/create-release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 27c48cdd4de..5e95632af57 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -21,11 +21,10 @@ jobs: id: get-latest-release run: | latestTag=$(curl -s "https://api.github.com/repos/IntersecMBO/cardano-node/releases/latest" | jq -r '.tag_name') - echo "::set-output name=tag::$latestTag" echo "{latestTag}={$latestTag}" >> $GITHUB_OUTPUT - name: Create release in forked repository run: | - git tag -a "${{ steps.get-latest-release.outputs.tag }}" -m "Release notes for ${{ steps.get-latest-release.outputs.tag }}" - git push origin "${{ steps.get-latest-release.outputs.tag }}" + git tag -a "${{ GITHUB_OUTPUT }}" -m "Release notes for ${{ GITHUB_OUTPUT }}" + git push origin "${{ GITHUB_OUTPUT }}"