Skip to content

Commit

Permalink
cd: fix the workflow with usernames
Browse files Browse the repository at this point in the history
  • Loading branch information
brunograna committed Feb 19, 2024
1 parent 14cd8a0 commit 30a4d00
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 30a4d00

Please sign in to comment.