mirror of
https://github.com/Sarsoo/IF.Lastfm.git
synced 2024-10-16 23:13:07 +01:00
27 lines
640 B
YAML
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
|