Skip to content

Commit

Permalink
Fix MyGet publishing
Browse files Browse the repository at this point in the history
Fix incorrectly edited condition so that packages go to MyGet, but attestation only happens for tagged builds.
  • Loading branch information
martincostello committed Jun 14, 2024
1 parent 68a201c commit e334cc6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ jobs:
if: |
runner.os == 'Windows' &&
github.event.repository.fork == false &&
(github.ref_name == github.event.repository.default_branch ||
startsWith(github.ref, 'refs/heads/dev') ||
startsWith(github.ref, 'refs/heads/rel/') ||
startsWith(github.ref, 'refs/tags/'))
startsWith(github.ref, 'refs/tags/')
with:
subject-path: |
./artifacts/bin/AspNet.Security.*/Release/**/AspNet.Security.*.dll
Expand Down Expand Up @@ -153,7 +150,10 @@ jobs:
runs-on: ubuntu-latest
if: |
github.event.repository.fork == false &&
startsWith(github.ref, 'refs/tags/')
(github.ref_name == github.event.repository.default_branch ||
startsWith(github.ref, 'refs/heads/dev') ||
startsWith(github.ref, 'refs/heads/rel/') ||
startsWith(github.ref, 'refs/tags/'))
steps:

- name: Download packages
Expand Down

0 comments on commit e334cc6

Please sign in to comment.