From ed66ac843c46e03b76fa299f653bc2bb0a656086 Mon Sep 17 00:00:00 2001 From: Elvis Nieves Date: Mon, 19 Jun 2023 20:09:18 -0400 Subject: [PATCH] fix: use existing folder path to store compressed files (#7) --- .github/workflows/main-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main-release.yml b/.github/workflows/main-release.yml index bba0970..ee01d05 100644 --- a/.github/workflows/main-release.yml +++ b/.github/workflows/main-release.yml @@ -1,4 +1,4 @@ -name: Release +name: Publish assets to GitHub Release on: release: @@ -38,12 +38,12 @@ jobs: if: runner.os == 'Windows' run: | choco install 7zip - & 'C:\Program Files\7-Zip\7z.exe' a -tzip ./publish/file-extractor-${{ runner.runtime }}.zip ./artifacts/publish/FileExtractor.CLI/release_${{ matrix.runtime }}/* + & 'C:\Program Files\7-Zip\7z.exe' a -tzip ./artifacts/publish/FileExtractor.CLI/file-extractor-${{ matrix.runtime }}.zip ./artifacts/publish/FileExtractor.CLI/release_${{ matrix.runtime }}/* - name: Zip Artifacts (Linux and macOS) if: runner.os != 'Windows' run: | - tar -czvf ./publish/file-extractor-${{ matrix.runtime }}.tar.gz -C ./artifacts/publish/FileExtractor.CLI/release_${{ matrix.runtime }} . + tar -czvf artifacts/publish/FileExtractor.CLI/file-extractor-${{ matrix.runtime }}.tar.gz artifacts/publish/FileExtractor.CLI/release_${{ matrix.runtime }} - name: Upload Release Asset uses: xresloader/upload-to-github-release@v1