Skip to content

Commit

Permalink
Merge pull request #18 from bacongobbler/remove-publish-on-main
Browse files Browse the repository at this point in the history
Remove publish on main
  • Loading branch information
bacongobbler authored Apr 29, 2022
2 parents 2e6a63f + 68bd3c5 commit 72497f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Set MINVERBUILDMETADATA
run: echo MINVERBUILDMETADATA=$(git rev-parse --short ${GITHUB_SHA}) >> $GITHUB_ENV
- name: Build
run: dotnet build -c ${{ matrix.config }} --no-restore
- name: Test
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+-preview'
branches: [ main ]

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

0 comments on commit 72497f7

Please # to comment.