Skip to content

Commit

Permalink
Merge pull request #103 from ionite34/fix-build-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ionite34 authored Jun 24, 2023
2 parents 27a6570 + 825f331 commit f042ce5
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,4 @@ jobs:
run: dotnet restore -p:PublishReadyToRun=true

- name: Build
run: |
dotnet publish ./StabilityMatrix/StabilityMatrix.csproj -o out -c Release -r win-x64 -p:PublishReadyToRun=true --self-contained true
mv ./out/StabilityMatrix.exe StabilityMatrix.exe
rm -r ./out
- name: Build (No Included .NET)
run: |
dotnet publish ./StabilityMatrix/StabilityMatrix.csproj -o out -c Release -r win-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained false
mv ./out/StabilityMatrix.exe StabilityMatrix-dotNET.exe
- name: Upload Artifacts
if: ${{ github.event_name == 'push' }}
uses: actions/upload-artifact@v3
with:
name: build
path: "*.exe"
run: dotnet publish ./StabilityMatrix/StabilityMatrix.csproj -o out -c Release -r win-x64 -p:PublishSingleFile=true --self-contained true

0 comments on commit f042ce5

Please sign in to comment.