Last active
January 3, 2020 00:27
-
-
Save ethomson/5101813150c57362ee072ee696d60be7 to your computer and use it in GitHub Desktop.
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] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
name: 'Checkout' | |
- uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '3.0.100-preview3-010431' | |
name: 'Setup .NET Core 3' | |
- run: | | |
dotnet restore | |
dotnet build --no-restore --configuration Release | |
dotnet test Tests.csproj --no-build --configuration Release | |
mkdir ${{ github.workspace }}/package | |
dotnet pack --no-build -c Release --output "${{ github.workspace }}/package" | |
- uses: actions/upload-artifact@v1 | |
with: | |
name: nuget | |
path: ${{ github.workspace }}/package | |
name: 'Upload Package' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @ethomson,
'Upload Package'
will never be executed because there is nomatrix.os
defined in this script. Am i right ?