Skip to content

Commit

Permalink
ci(github): remove tag reference checks for release actions
Browse files Browse the repository at this point in the history
- Remove the `if: startsWith(github.ref, 'refs/tags/')` condition from Create Release and Upload Release Asset steps
- This change allows the GitHub Actions workflow to create and upload releases without explicitly checking for tag references
  • Loading branch information
wellcomez committed Oct 31, 2024
1 parent e35e1f8 commit 76a1ade
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
# Create Release and upload
- name: Create Release
id: create_release
if: startsWith(github.ref, 'refs/tags/')
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.RTOKEN }}
Expand All @@ -75,7 +74,6 @@ jobs:

# Upload the archive
- name: Upload Release Asset
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.RTOKEN }}
Expand Down

0 comments on commit 76a1ade

Please sign in to comment.