This commit is contained in:
commit
1199bef0c8
1 changed files with 1200 additions and 0 deletions
29
.forgejo/workflows/build.yml
Executable file
29
.forgejo/workflows/build.yml
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
name: Build
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DOTNET_NOLOGO: true
|
||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Set up dotnet
|
||||
uses: https://github.com/actions/setup-dotnet@v5
|
||||
with:
|
||||
dotnet-version: 10.0.x
|
||||
|
||||
- name: Build project
|
||||
run: dotnet build -c Release
|
||||
|
||||
- name: Test project
|
||||
run: dotnet test -c Release
|
||||
Loading…
Reference in a new issue