Some checks failed
Build Docker Linux ARM64 Release / build-docker-linux-arm64-release (push) Has been cancelled
34 lines
841 B
YAML
34 lines
841 B
YAML
name: Build Windows x64
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
#- main
|
|
|
|
jobs:
|
|
build-windows-x64:
|
|
runs-on: [self-hosted, linux, arm64, windows-exe, dotnet]
|
|
steps:
|
|
- name: Install packages
|
|
run: apk add --no-cache git curl wget unzip bash nodejs npm
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v3
|
|
with:
|
|
dotnet-version: '8.0.x'
|
|
|
|
- name: Restore dependencies
|
|
run: dotnet restore ./CouchLog/CouchLog.sln
|
|
|
|
- name: Build Windows x64
|
|
run: dotnet publish ./CouchLog/CouchLog.sln -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
|