-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (32 loc) · 926 Bytes
/
release.yml
File metadata and controls
44 lines (32 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: release
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Checkout
uses: actions/checkout@v4
- name: Check License Lines
uses: kt3k/license_checker@v1.0.6
- name: Setup .NET 9.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
7
8
9
- name: Build
run: dotnet build Engine/Quokka.slnx --configuration Release
- name: Test
run: dotnet test Engine/Quokka.slnx --no-build --configuration Release
- name: Pack
run: dotnet pack Engine/Quokka.slnx -c Release
- name: Publish
run: dotnet nuget push **/*.nupkg -k ${{secrets.MINDBOX_NUGET_AUTH_TOKEN}} -s https://www.nuget.org/api/v2/package