Files
wiicompiled/.github/workflows/build.yml
T
theofficialgman 6f4dd2f470 CI: update actions target versions
also upload .appimage and .exe files directly using the new "archive: false" option rather than zipping them
2026-09-01 17:01:13 +02:00

37 lines
765 B
YAML

name: Build
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: build-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
translator:
name: Translator (build + test)
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: actions/setup-dotnet@v6
with:
dotnet-version: '8.0.x'
- name: Restore
run: dotnet restore translator/Translator.sln
- name: Build
run: dotnet build translator/Translator.sln -c Release --no-restore
- name: Test
run: dotnet test translator/Translator.sln -c Release --no-build --verbosity normal