Skip to content

Commit

Permalink
fix: use existing folder path to store compressed files (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabynevada authored Jun 20, 2023
1 parent b6cfd14 commit ed66ac8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Publish assets to GitHub Release

on:
release:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ed66ac8

Please sign in to comment.