Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Csharp gui alt

Csharp gui alt #47

Workflow file for this run

name: .NET Core Desktop .EXE (CI)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
targetplatform: [x86, x64]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # Avoid shallow clone so nbgv can do its work.
- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Build
run: dotnet build -c Release -r win-${{ matrix.targetplatform }}
- name: Publish Artifact
run: dotnet publish -c Release -r win-${{ matrix.targetplatform }} -o ./publish
- name: Zip Artifact
run: zip -r FAFB_PowerShell_${{ matrix.targetplatform }}.zip ./publish
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: FAFB_PowerShell_${{ matrix.targetplatform }}
path: FAFB_PowerShell_${{ matrix.targetplatform }}.zip