Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 2516020

Browse files
committed
do not publish on push to main
There's no need to publish a development version. Users can compile from source. Signed-off-by: Matthew Fisher <matt.fisher@fermyon.com>
1 parent 2e6a63f commit 2516020

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
tags:
66
- '[0-9]+.[0-9]+.[0-9]+'
77
- '[0-9]+.[0-9]+.[0-9]+-preview'
8-
branches: [ main ]
98

109
jobs:
1110
publish:
@@ -30,7 +29,6 @@ jobs:
3029
dotnet nuget push $nupkg --api-key ${{ secrets.GHPACKAGES_PAT }} --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --skip-duplicate
3130
done
3231
- name: Publish Nuget Packages
33-
if: startsWith(github.ref, 'refs/tags/')
3432
run: |
3533
for nupkg in $(find . -name *.nupkg)
3634
do

0 commit comments

Comments
 (0)