Skip to content

Commit

Permalink
Test before packing
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjarobot committed Dec 1, 2022
1 parent df29525 commit 9b3ddea
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/pack-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.403
- name: Restore dependencies
run: dotnet restore
- name: Build
run: VERSION=${GITHUB_REF##*/} dotnet build -warnaserror --no-restore -o . -c Release
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test --verbosity normal
- name: Build and pack
run: VERSION=${GITHUB_REF##*/} dotnet build -warnaserror --no-restore -o . -c Release
- name: Publish nuget package
run: dotnet nuget push FSharp.Text.Docker.*.nupkg -s https://nuget.org -k ${{ secrets.NUGET_API_KEY }}
- name: Publish symbols package
Expand Down

0 comments on commit 9b3ddea

Please sign in to comment.