update nugets #132
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Restore | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore /property:ContinuousIntegrationBuild=True | |
# - name: Test | |
# run: dotnet test --configuration Release --no-restore --no-build | |
- name: Pack | |
run: dotnet pack --configuration Release --no-restore --no-build -o artifacts | |
- name: Publish | |
uses: actions/upload-artifact@v4 | |
with: | |
name: packages | |
path: 'artifacts/*.*nupkg' |