Skip to content

Publish single file

Publish single file #2

Workflow file for this run

name: .NET Core Desktop
on:
push:
branches: [ "master", "gh-actions" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build
#- name: Test with the dotnet CLI
# run: dotnet test
- name: Publish
run: dotnet publish -c Release -o out -r win-x86 --self-contained false ZoraGenWpf.sln
- name: Upload Build Artifact
uses: actions/upload-artifact@v3
with:
name: ZoraGen
path: out/ZoraGen.exe