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

Commit 72497f7

Browse files
authored
Merge pull request #18 from bacongobbler/remove-publish-on-main
Remove publish on main
2 parents 2e6a63f + 68bd3c5 commit 72497f7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

.github/workflows/build-and-test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ jobs:
5353
dotnet-version: 6.0.x
5454
- name: Restore dependencies
5555
run: dotnet restore
56-
- name: Set MINVERBUILDMETADATA
57-
run: echo MINVERBUILDMETADATA=$(git rev-parse --short ${GITHUB_SHA}) >> $GITHUB_ENV
5856
- name: Build
5957
run: dotnet build -c ${{ matrix.config }} --no-restore
6058
- name: Test

.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)