diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5764d3a..835256c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,6 +58,7 @@ jobs: mv OpenSCAD2CalculiX-*-x86_64.AppImage OpenSCAD2CalculiX-latest-x86_64.AppImage - name: Tag latest + if: ${{ github.ref == 'refs/heads/master' }} uses: richardsimko/update-tag@v1 with: tag_name: latest @@ -65,6 +66,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} - name: Release latest + if: ${{ github.ref == 'refs/heads/master' }} uses: softprops/action-gh-release@v1 with: tag_name: latest