From 9b86a93a1ca369d65edcf3afed7017fe96bad718 Mon Sep 17 00:00:00 2001 From: Brian Koehler Date: Sun, 5 Jan 2025 01:10:45 -0800 Subject: [PATCH] combine tar and gzip into one step --- .github/workflows/rust.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a06156e..3337b95 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -25,12 +25,10 @@ jobs: run: | chmod +x target/${{ matrix.target }}/release/the-collector chmod +x target/${{ matrix.target }}/release/int-bot - - name: Create tar archive - run: tar -cvf target/${{ matrix.target }}/the-collector.tar \ + - name: Create gzipped tarball + run: tar -czvf target/${{ matrix.target }}/the-collector.tar.gz \ target/${{ matrix.target }}/release/the-collector \ target/${{ matrix.target }}/release/int-bot - - name: Gzip tar archive - run: gzip target/${{ matrix.target }}/the-collector.tar - name: Create release on GitHub uses: softprops/action-gh-release@v1 with: