From 9c5aaad6db244a559136d5041bcce4fb7e370f68 Mon Sep 17 00:00:00 2001 From: Ionite Date: Fri, 23 Jun 2023 20:59:37 -0400 Subject: [PATCH 1/2] Fix build single file arg --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 10f8122ec..4ad2f35f6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ jobs: - name: Build run: | - dotnet publish ./StabilityMatrix/StabilityMatrix.csproj -o out -c Release -r win-x64 -p:PublishReadyToRun=true --self-contained true + dotnet publish ./StabilityMatrix/StabilityMatrix.csproj -o out -c Release -r win-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true --self-contained true mv ./out/StabilityMatrix.exe StabilityMatrix.exe rm -r ./out From 825f33105fd2cdff2aafc410acf1547314973dd6 Mon Sep 17 00:00:00 2001 From: Ionite Date: Fri, 23 Jun 2023 21:03:03 -0400 Subject: [PATCH 2/2] Remove artifact upload for ci --- .github/workflows/build.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ad2f35f6..ea32c7b66 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 -p:PublishSingleFile=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