Skip to content

Commit 243a201

Browse files
committed
Only sign Windows releases since they require manual approval
Signed-off-by: Geoff Hutchison <[email protected]>
1 parent 38a2c34 commit 243a201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ jobs:
135135
path: ${{ runner.workspace }}/build/avogadroapp/Avogadro*.*
136136
name: ${{ matrix.config.artifact }}
137137

138-
- name: Sign Windows artifact
139-
if: matrix.config.os == 'windows-latest' && github.ref == 'refs/heads/master'
138+
- name: Sign Windows release
139+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
140140
uses: signpath/github-action-submit-signing-request@v1
141141
with:
142142
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'

0 commit comments

Comments
 (0)