Skip to content

Commit

Permalink
CI: sign on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jaapio committed Aug 14, 2023
1 parent 8a9d6f2 commit 94a6a7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/phar/action.yaml
Expand Up @@ -81,7 +81,8 @@ runs:
shell: bash

- name: sign phar
if: contains(github.ref, 'release') || github.ref == 'refs/heads/master'
# sign only when master or tags
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')
env:
GPG_TTY: ${{ env.tty }}
shell: bash
Expand Down

0 comments on commit 94a6a7b

Please sign in to comment.