From 30a4d009fe63025afbee8e6c0f325a3f3e413662 Mon Sep 17 00:00:00 2001 From: brunograna Date: Sun, 18 Feb 2024 21:10:10 -0300 Subject: [PATCH] cd: fix the workflow with usernames --- .github/workflows/cd.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 852d5ee..e015da3 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -121,6 +121,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Push new tag + if: steps.commits.outputs.new_version != '0.0.0' + run: git push origin ${{ steps.version.outputs.new_version }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Generate release notes id: release_notes run: | @@ -158,12 +164,6 @@ jobs: cat release_notes.md continue-on-error: false - - name: Push new tag - if: steps.commits.outputs.new_version != '0.0.0' - run: git push origin ${{ steps.version.outputs.new_version }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Create Release id: create_release uses: softprops/action-gh-release@v1