IF.Lastfm/.github/workflows/next.yml
2020-06-26 17:37:00 +01:00

27 lines
640 B
YAML

name: Build next branch
on:
push:
branches: [ next ]
paths-ignore:
- 'doc/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Pack
run: dotnet pack -c Release --no-build --include-source -o ./tmp --version-suffix ${{ GITHUB_SHA }}
# TODO publish to myget feed