Files
CouchLog/.gitea/workflows/linux_arm64.yaml

33 lines
824 B
YAML

name: Build ARM64 Linux
on:
push:
branches:
- main
jobs:
build-arm64:
runs-on: [self-hosted, linux, arm64, 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: '10.0.x'
- name: Restore dependencies
run: dotnet restore ./CouchLog/CouchLog.sln
- name: Build ARM64 Linux
run: dotnet publish ./CouchLog/CouchLog.sln -c Release -r linux-arm64 --self-contained false -o ./artifacts/linux-arm64
- name: Upload ARM64 artifact
uses: actions/upload-artifact@v4
with:
name: linux-arm64
path: ./artifacts/linux-arm64