Skip to content

Commit

Permalink
build script
Browse files Browse the repository at this point in the history
  • Loading branch information
PBrunot committed Apr 1, 2024
1 parent b5ee97b commit c93c642
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build
- name: Publish
run: dotnet publish -c Release -o ${{ github.workspace }}/publish
run: dotnet publish -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true -o publish
- name: Archive
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: publish
path: ${{ github.workspace }}/publish

0 comments on commit c93c642

Please sign in to comment.