Update README.md #25
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: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
env: | |
BUILD_CONFIG: 'Release' | |
SOLUTION: 'Uniquery.sln' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: Restore dependencies | |
run: nuget restore $SOLUTION | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.x | |
- name: Build | |
run: dotnet build $SOLUTION --configuration Release --no-restore | |
- name: Publish Nuget | |
uses: brandedoutcast/[email protected] | |
with: | |
PROJECT_FILE_PATH: ./Uniquery/Uniquery.csproj | |
NUGET_KEY: ${{secrets.NUGET_API_KEY}} |