This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
Add nullable directive to entity files #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |