-
Notifications
You must be signed in to change notification settings - Fork 19
46 lines (36 loc) · 970 Bytes
/
linux-build.yml
File metadata and controls
46 lines (36 loc) · 970 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
45
46
name: linux-build
on:
workflow_call:
outputs:
artifact-name:
description: "Linux bits"
value: linux-bits
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout Code
with:
fetch-depth: 0
# Necessary for running neato
- name: Install libgts
run: sudo apt-get update && sudo apt-get install -y libgts-0.7-5
- name: Setup .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Setup Just
uses: extractions/setup-just@v3
- name: Build and test
run: just
- name: Check diff
run: just check-diff
- name: Locate nupkg
id: pkg
run: just locate-nupkg "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v4
with:
name: linux-bits
path: ${{ steps.pkg.outputs.package }}
retention-days: 3