Skip to content

Commit cfb8a4e

Browse files
committed
Only run publish step for tags and the main branch
1 parent 285ea43 commit cfb8a4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/compilation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
publish:
7070
needs: [build, windows]
7171
runs-on: ubuntu-latest
72+
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
7273
steps:
7374
- uses: actions/download-artifact@v4
7475

0 commit comments

Comments
 (0)