overhaul the attribute system #51
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: Dotnet core build | |
# This workflow is triggered on pushes to the repository. | |
on: [push] | |
# Consider: printf '%(%Y-%m-%dT%H:%M)T\n' -1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.x' | |
- name: Build with dotnet | |
run: dotnet build --configuration Release | |
- name: Unit Tests | |
run: dotnet test | |
- name: Build NuGet Package | |
run: dotnet pack --configuration Release -o NuGetPackages | |
- name: Deploy NuGet Package | |
run: dotnet nuget push NuGetPackages/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json | |