added some Workflows
Some checks failed
Some checks failed
This commit is contained in:
29
.gitea/workflows/win_x64.yaml
Normal file
29
.gitea/workflows/win_x64.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Build Windows x64
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build-windows-x64:
|
||||
runs-on: [self-hosted, linux, arm64, windows-exe, dotnet]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
|
||||
- name: Restore dependencies
|
||||
run: dotnet restore
|
||||
|
||||
- name: Build Windows x64
|
||||
run: dotnet publish -c Release -r win-x64 --self-contained true -o ./artifacts/windows-x64
|
||||
|
||||
- name: Upload Windows artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: windows-x64
|
||||
path: ./artifacts/windows-x64
|
||||
Reference in New Issue
Block a user