#27 ensure custom props are of type IAgGridProp #50
Workflow file for this run
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: Nuget-Publish | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/[email protected] | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: 6.0.300 | |
- name: Restore tools | |
run: dotnet tool restore | |
- name: Restore dependencies | |
run: dotnet restore | |
working-directory: ./src | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
working-directory: ./src | |
- name: Pack | |
run: dotnet pack --configuration Release --no-build --output . | |
working-directory: ./src | |
if: ${{ github.ref == 'refs/heads/main' }} | |
- name: Publish | |
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nuget.org/v3/index.json | |
working-directory: ./src | |
if: ${{ github.ref == 'refs/heads/main' }} |