Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

job name + glob pattern nupkg #2

job name + glob pattern nupkg

job name + glob pattern nupkg #2

Workflow file for this run

name: Push Squeel to NuGet
on:
push:
branches:
- main
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
permissions:
contents: write
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- run: dotnet pack -c Release
- run: dotnet nuget push Squeel/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
- run: nbgv tag
- run: git push origin v$(nbgv get-version -v NugetPackageVersion)
shell: bash