-
Notifications
You must be signed in to change notification settings - Fork 5
28 lines (26 loc) · 909 Bytes
/
dotnet.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
name: .NET on Ubuntu
on: push
jobs:
dotnet_ubuntu:
runs-on: ubuntu-24.04
steps:
# Checks-out the repository under $GITHUB_WORKSPACE.
- uses: actions/checkout@v4
- name: Install Debian packages
run: |
sudo apt-get update
sudo apt-get install -y git
- name: Install .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build
run: |
cd $GITHUB_WORKSPACE && pwd && ls -lah
dotnet restore ./updater/updater.csproj
dotnet restore ./updater-test/updater-test.csproj
dotnet build ./updater/updater.csproj
dotnet build ./updater-test/updater-test.csproj
# Unfortunately, WinForms applications cannot be built on Linux.
# So ./moz-checksum-generator/moz-checksum-generator.csproj has to be
# excluded from the build.