-
Notifications
You must be signed in to change notification settings - Fork 10
44 lines (37 loc) · 908 Bytes
/
default.yml
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: default
on:
push:
branches:
- develop
- main
pull_request:
branches:
- develop
- main
workflow_dispatch:
env:
DOTNET_NOLOGO: true
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: true
- name: setup dotnet
uses: actions/setup-dotnet@v4
with:
cache: true
cache-dependency-path: ./**/packages.lock.json
global-json-file: global.json
- name: restore
run: dotnet restore --locked-mode
- name: publish
run: dotnet publish src/src/LethalCompany.Doom.csproj -c Release -o .package --no-restore
- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: lc-doom
path: .package