From 65e0065234884d437dda430b7403e9f18d775730 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Mon, 23 Oct 2023 13:20:23 +0200 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff870c63..3565ce40 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,17 +23,8 @@ jobs: run: | dotnet publish app/GHelper.sln --configuration Release --runtime win-x64 -p:PublishSingleFile=true --no-self-contained powershell Compress-Archive app/bin/x64/Release/net7.0-windows/win-x64/publish/* GHelper.zip - - name: Upload - if: github.event_name != 'workflow_dispatch' env: GH_TOKEN: ${{ github.token }} run: | gh release upload ${{ github.ref_name }} GHelper.zip - - - name: Artifact - if: github.event_name == 'workflow_dispatch' - uses: actions/upload-artifact@v3 - with: - name: GHelper-release-${{ github.sha }} - path: GHelper-*.zip