added some Workflows
Some checks failed
Some checks failed
This commit is contained in:
29
.gitea/workflows/linux_x64.yaml
Normal file
29
.gitea/workflows/linux_x64.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Build Linux x64
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build-linux-x64:
|
||||
runs-on: [self-hosted, linux, arm64, linux64, 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 Linux x64
|
||||
run: dotnet publish -c Release -r linux-x64 --self-contained false -o ./artifacts/linux-x64
|
||||
|
||||
- name: Upload Linux x64 artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: linux-x64
|
||||
path: ./artifacts/linux-x64
|
||||
Reference in New Issue
Block a user