Merge pull request #5 from t4rzsan/feature/async #19
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: acrofs-project | |
on: | |
push: | |
branches: | |
- test | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Side by Side testing | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v1 | |
with: | |
#dotnet-version: '5.0.x' | |
dotnet-version: '6.0.x' | |
include-prerelease: true | |
- run: dotnet build Acrobit.AcroFS | |
- run: dotnet test AcroFS.Tests | |
- name: Create the package | |
run: dotnet pack --configuration Release Acrobit.AcroFS | |
- name: Publish the package to nuget.org | |
run: dotnet nuget push */bin/Release/*.nupkg -k $NUGET_AUTH_TOKEN -s https://api.nuget.org/v3/index.json | |
env: | |
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_TOKEN }} |