diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index ca79c9a..ea1f577 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -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: @@ -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