diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 7a681268bc..40fb20b637 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ jobs: pull-requests: write # to be able to comment on released pull requests id-token: write # to enable use of OIDC for npm provenance outputs: - RELEASE_VERSION: ${{ steps.get_version.outputs.version }} + RELEASE_VERSION: ${{ steps.extract_version.outputs.RELEASE_VERSION }} steps: - name: Checkout uses: actions/checkout@v3 @@ -43,9 +43,9 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN}} run: npx semantic-release - - name: Get Version - id: get_version - uses: battila7/get-version-action@v2 + - name: Extract version + id: extract_version + run: echo "RELEASE_VERSION=${version}" >> $GITHUB_OUTPUT - name: Trigger Quill Icons Park release if: success() env: @@ -72,9 +72,9 @@ jobs: id: create_slack_message run: | if [ "${{ env.WORKFLOW_CONCLUSION }}" == "success" ]; then - echo "MESSAGE=${{ env.RELEASE_TYPE }} Release succeeded for @deriv/quill-icons with version ${{ needs.release.outputs.RELEASE_VERSION }}" >> $GITHUB_OUTPUT + echo "MESSAGE=${{ env.RELEASE_TYPE }} Release succeeded for @deriv/quill-icons with version ${{ needs.release.outputs.RELEASE_VERSION }} 🥳" >> $GITHUB_OUTPUT else - echo "MESSAGE=${{ env.RELEASE_TYPE }} Release failed for @deriv/quill-icons with version ${{ needs.release.outputs.RELEASE_VERSION }}" >> $GITHUB_OUTPUT + echo "MESSAGE=${{ env.RELEASE_TYPE }} Release failed for @deriv/quill-icons with version ${{ needs.release.outputs.RELEASE_VERSION }} 🤨" >> $GITHUB_OUTPUT fi - name: Send Slack Notification uses: './.github/actions/send_slack_notifications'