From c5566b410b929449f5d3a4ae286c913dbd8ae01b Mon Sep 17 00:00:00 2001 From: Ryan <20880060+Earu@users.noreply.github.com> Date: Sat, 5 Oct 2024 14:52:43 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d7f82fa..8a1b7ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build .NET Core Executables +name: Build Executables on: push: @@ -10,7 +10,7 @@ on: jobs: build: - name: Build and publish .NET Core self-contained executables + name: Build & Publish runs-on: ${{ matrix.os }} strategy: matrix: @@ -33,10 +33,10 @@ jobs: arch: x64 steps: - - name: Checkout source code + - name: Checkout source cod uses: actions/checkout@v4 - - name: Setup .NET Core SDK + - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: '8.x' # Specify the required .NET SDK version @@ -44,7 +44,7 @@ jobs: - name: Install dependencies run: dotnet restore - - name: Publish self-contained executable + - name: Publish executable run: dotnet publish -c Release -r ${{ matrix.runtime }} --self-contained -p:PublishSingleFile=true -o ./publish/${{ matrix.os }}/${{ matrix.arch }} - name: Upload artifact