Skip to content

Commit e334cc6

Browse files
Fix MyGet publishing
Fix incorrectly edited condition so that packages go to MyGet, but attestation only happens for tagged builds.
1 parent 68a201c commit e334cc6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,7 @@ jobs:
8787
if: |
8888
runner.os == 'Windows' &&
8989
github.event.repository.fork == false &&
90-
(github.ref_name == github.event.repository.default_branch ||
91-
startsWith(github.ref, 'refs/heads/dev') ||
92-
startsWith(github.ref, 'refs/heads/rel/') ||
93-
startsWith(github.ref, 'refs/tags/'))
90+
startsWith(github.ref, 'refs/tags/')
9491
with:
9592
subject-path: |
9693
./artifacts/bin/AspNet.Security.*/Release/**/AspNet.Security.*.dll
@@ -153,7 +150,10 @@ jobs:
153150
runs-on: ubuntu-latest
154151
if: |
155152
github.event.repository.fork == false &&
156-
startsWith(github.ref, 'refs/tags/')
153+
(github.ref_name == github.event.repository.default_branch ||
154+
startsWith(github.ref, 'refs/heads/dev') ||
155+
startsWith(github.ref, 'refs/heads/rel/') ||
156+
startsWith(github.ref, 'refs/tags/'))
157157
steps:
158158

159159
- name: Download packages

0 commit comments

Comments
 (0)