Skip to content

Commit 285dbad

Browse files
authored
Only autorelease the master branch
1 parent 90776e3 commit 285dbad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,15 @@ jobs:
5858
mv OpenSCAD2CalculiX-*-x86_64.AppImage OpenSCAD2CalculiX-latest-x86_64.AppImage
5959
6060
- name: Tag latest
61+
if: ${{ github.ref == 'refs/heads/master' }}
6162
uses: richardsimko/update-tag@v1
6263
with:
6364
tag_name: latest
6465
env:
6566
GITHUB_TOKEN: ${{ github.token }}
6667

6768
- name: Release latest
69+
if: ${{ github.ref == 'refs/heads/master' }}
6870
uses: softprops/action-gh-release@v1
6971
with:
7072
tag_name: latest

0 commit comments

Comments
 (0)