Skip to content

Commit

Permalink
Skip compressed archive creation for Windows artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mandx committed Feb 12, 2020
1 parent 24f5a9d commit a304478
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
command: build
args: --release
- run: cd target/release/ && tar -czf ${{ matrix.artifact_name }}.tar.gz ${{ matrix.artifact_name }}
if: matrix.os != 'windows-latest'
- uses: svenstaro/upload-release-action@1.0.1
name: Upload files to a GitHub release
with:
Expand All @@ -45,6 +46,7 @@ jobs:
tag: ${{ github.ref }}
- uses: svenstaro/upload-release-action@1.0.1
name: Upload compressed files to a GitHub release
if: matrix.os != 'windows-latest'
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/${{ matrix.artifact_name }}.tar.gz
Expand Down

0 comments on commit a304478

Please sign in to comment.