Skip to content

Commit 59ec706

Browse files
committed
Fix job's (Release) condition
1 parent a5cae86 commit 59ec706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/github-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
Release:
5252
runs-on: ubuntu-latest
5353
needs: [Linux-Artifact, Mac-Artifact, Windows-Artifact]
54+
if: startsWith(github.ref, 'refs/tags/')
5455
steps:
5556
- name: Download Linux artifact
5657
uses: actions/download-artifact@v2
@@ -78,7 +79,6 @@ jobs:
7879

7980
- name: Release
8081
uses: softprops/action-gh-release@v1
81-
if: startsWith(github.ref, 'refs/tags/')
8282
with:
8383
draft: true
8484
files: |

0 commit comments

Comments
 (0)