Skip to content

Commit 76a1ade

Browse files
committed
ci(github): remove tag reference checks for release actions
- 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
1 parent e35e1f8 commit 76a1ade

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/go.yml

-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ jobs:
6363
# Create Release and upload
6464
- name: Create Release
6565
id: create_release
66-
if: startsWith(github.ref, 'refs/tags/')
6766
uses: actions/create-release@v1
6867
env:
6968
GITHUB_TOKEN: ${{ secrets.RTOKEN }}
@@ -75,7 +74,6 @@ jobs:
7574

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

0 commit comments

Comments
 (0)