Skip to content

Commit e23b4ca

Browse files
Fixed artifact attestation condition
1 parent 7028355 commit e23b4ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ jobs:
5454
run: mv TuneLab/bin/Release/net8.0/${{ matrix.runtime }}/publish workspace
5555

5656
- name: Generate artifact attestation - Windows
57-
if: runner.os == 'Windows'
57+
if: runner.os == 'Windows' && github.event_name != 'pull_request'
5858
uses: actions/attest-build-provenance@v1
5959
with:
6060
subject-path: '"workspace/*.dll","workspace/*.exe"'
6161

6262
- name: Generate artifact attestation - MacOS and Linux
63-
if: runner.os != 'Windows'
63+
if: runner.os != 'Windows' && github.event_name != 'pull_request'
6464
uses: actions/attest-build-provenance@v1
6565
with:
6666
subject-path: '"workspace/*.dll","workspace/ExtensionInstaller","workspace/TuneLab"'

0 commit comments

Comments
 (0)