From e49d4ee181a0e5f13836f2d80626af908c4d24e7 Mon Sep 17 00:00:00 2001 From: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com> Date: Tue, 24 Oct 2023 15:14:47 +0300 Subject: [PATCH] Simplify CI workflow --- .github/workflows/main.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3fdf434d..f875f411 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,7 +52,7 @@ jobs: with: dotnet-version: 7.0.x - - name: Publish + - name: Publish app run: > dotnet publish LightBulb --output LightBulb/bin/publish/ @@ -79,9 +79,11 @@ jobs: deploy: if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }} + needs: - test - pack + runs-on: ubuntu-latest permissions: actions: read @@ -100,12 +102,7 @@ jobs: name: LightBulb-Installer - name: Create package (portable) - shell: pwsh - run: > - Compress-Archive - -Path LightBulb/* - -DestinationPath LightBulb.zip - -Force + run: zip -r LightBulb.zip LightBulb/ - name: Create release env: