From 9c1ac079fb077afe544f89a98dcb8942a7f436de Mon Sep 17 00:00:00 2001 From: Denis Tingaikin Date: Fri, 29 Sep 2023 18:51:24 +0300 Subject: [PATCH] fix issue with jobs naming Signed-off-by: Denis Tingaikin --- .github/workflows/release.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 61dd55b070e6..f3cc69e53db9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -76,27 +76,27 @@ jobs: create-release: name: Create release - needs: update-refs + needs: replace-params runs-on: ubuntu-latest outputs: - tag: ${{ needs.update-refs.outputs.tag }} + tag: ${{ needs.replace-params.outputs.tag }} steps: - name: Checkout repository uses: actions/checkout@v2 with: ref: ${{github.event.ref}} - - name: Push tag ${{ needs.update-refs.outputs.tag }} + - name: Push tag ${{ needs.replace-params.outputs.tag }} run: | git status - git tag ${{ needs.update-refs.outputs.tag }} - git push origin ${{ needs.update-refs.outputs.tag }} -f - - name: Create release ${{ needs.update-refs.outputs.tag }} + git tag ${{ needs.replace-params.outputs.tag }} + git push origin ${{ needs.replace-params.outputs.tag }} -f + - name: Create release ${{ needs.replace-params.outputs.tag }} uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.NSM_BOT_GITHUB_TOKEN }} with: - tag_name: refs/tags/${{ needs.update-refs.outputs.tag }} - release_name: ${{ needs.update-refs.outputs.tag }} + tag_name: refs/tags/${{ needs.replace-params.outputs.tag }} + release_name: ${{ needs.replace-params.outputs.tag }} draft: false prerelease: false