Skip to content

fix build

fix build #6

Workflow file for this run

# YAML Github file to build the .net core 8.0 project
name: dotnet package
on: [push]
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
dotnet-version: [ '8.0.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Publish
run: dotnet publish -c Release -p:PublishSingleFile=true
- name: Archive
uses: actions/upload-artifact@v4
with:
name: publish
path: ${{ github.workspace }}\ConsoleApp2\publish