Skip to content

Commit 47528c5

Browse files
Only attest tag builds
Only attest the artifacts for a release from a tag for publishing to NuGet.org, otherwise due to the number of artifacts we produce the build takes ~10 minutes extra to complete.
1 parent 18b00ac commit 47528c5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,7 @@ jobs:
153153
runs-on: ubuntu-latest
154154
if: |
155155
github.event.repository.fork == false &&
156-
(github.ref_name == github.event.repository.default_branch ||
157-
startsWith(github.ref, 'refs/heads/dev') ||
158-
startsWith(github.ref, 'refs/heads/rel/') ||
159-
startsWith(github.ref, 'refs/tags/'))
156+
startsWith(github.ref, 'refs/tags/')
160157
steps:
161158

162159
- name: Download packages

0 commit comments

Comments
 (0)