Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Earu authored Oct 5, 2024
1 parent 7ad001f commit c5566b4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build .NET Core Executables
name: Build Executables

on:
push:
Expand All @@ -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:
Expand All @@ -33,18 +33,18 @@ 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

- 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
Expand Down

0 comments on commit c5566b4

Please sign in to comment.