Skip to content

Commit

Permalink
this should fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manups4e committed Apr 4, 2024
1 parent 7ff63fd commit e3deaa5
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build-publish.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
on:
push:
tags:
- "v[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+.[0-9]+"
if: startsWith(github.ref, 'refs/tags/')

concurrency:
Expand Down Expand Up @@ -67,12 +69,12 @@ jobs:
- name: Dotnet - Pack
run: dotnet pack -c "Release ${{ matrix.client }}" --no-restore

- name: Publish - NuGet
if: ${{ env.is-tag == 'true' }}
run: dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
working-directory: CompiledLibs
# - name: Publish - NuGet
# if: ${{ env.is-tag == 'true' }}
# run: dotnet nuget push **/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
# working-directory: CompiledLibs

- name: Publish - GitHub
if: ${{ env.is-tag == 'true' }}
run: dotnet nuget push **/*.nupkg --skip-duplicate
working-directory: CompiledLibs
# - name: Publish - GitHub
# if: ${{ env.is-tag == 'true' }}
# run: dotnet nuget push **/*.nupkg --skip-duplicate
# working-directory: CompiledLibs

0 comments on commit e3deaa5

Please sign in to comment.