This commit is contained in:
commit
0e79a8eb5e
1 changed files with 1282 additions and 0 deletions
34
.forgejo/workflows/build.yml
Executable file
34
.forgejo/workflows/build.yml
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
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 server
|
||||
run: dotnet build -c Release
|
||||
|
||||
- name: Test server
|
||||
run: dotnet test -c Release
|
||||
|
||||
- name: Set up pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10
|
||||
Loading…
Reference in a new issue