From 67590d8e4e3fe947b6539b6f891846e74eaa59e2 Mon Sep 17 00:00:00 2001 From: Islam Nofl Date: Mon, 1 Jul 2024 01:30:11 +0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fc6362c..28b2f42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,24 +33,18 @@ jobs: - name: Zip release run: | cd ${{env.DOTNET_ROOT}}/LorAuto/ - zip -r /LorAuto/release.zip ./* + zip -r ${{env.DOTNET_ROOT}}/LorAuto/release.zip ./* - release: - runs-on: ubuntu-latest - permissions: - contents: write - - steps: - name: Upload artifact uses: actions/upload-artifact@v2 with: name: LorAuto - path: /LorAuto/release.zip + path: ${{env.DOTNET_ROOT}}/LorAuto/release.zip - name: Upload Release uses: ncipollo/release-action@v1 with: - artifacts: /LorAuto/release.zip + artifacts: ${{env.DOTNET_ROOT}}/LorAuto/release.zip makeLatest: true generateReleaseNotes: true draft: false