Skip to content

Commit

Permalink
Update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ committed Feb 2, 2025
1 parent 5dc35bc commit f03e474
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: dotnet publish ./src/SQLQueryStress/SqlQueryStress.csproj --configuration Release --output .\src\SQLQueryStress\bin\Publish\net8.0-windows\ --self-contained true

- name: zip app
run: 7z a SqlQueryStress-0.9.8.${{ env.VERSION }}.zip .\src\SQLQueryStress\bin\Publish\net8.0-windows\*.exe
run: 7z a SqlQueryStress-0.9.8.${{ github.run_number }}.zip .\src\SQLQueryStress\bin\Publish\net8.0-windows\*.exe

- name: Publish artifacts
uses: actions/upload-artifact@v4
Expand All @@ -49,7 +49,7 @@ jobs:
path: |
**\\*.nupkg
# - name: Publish NuGet
# if: startsWith(github.ref, 'refs/heads/master') && github.repository_owner == 'ErikEJ'
# run: dotnet nuget push **\*.nupkg --source 'https://api.nuget.org/v3/index.json' --api-key ${{ secrets.NUGET }} --skip-duplicate
- name: Publish NuGet
if: startsWith(github.ref, 'refs/heads/master') && github.repository_owner == 'ErikEJ'
run: dotnet nuget push **\*.nupkg --source 'https://api.nuget.org/v3/index.json' --api-key ${{ secrets.NUGET }} --skip-duplicate

0 comments on commit f03e474

Please sign in to comment.