diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1aca677ed..08c36620e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: mkdir raytracer-bin cp raytracer raytracer-bin/raytracer cp -r plugins raytracer-bin/ - tar -czf raytracer.tar.gz raytracer-bin -I 'gzip -9' + tar -czf - raytracer-bin | gzip -9 > raytracer.tar.gz - name: Upload to release (binary) uses: svenstaro/upload-release-action@v2 @@ -44,7 +44,7 @@ jobs: mkdir raytracer-examples cp scenes/**/*.yaax scenes/*.yaax raytracer-examples/ find raytracer-examples -name '*.yaax' -type f -print -exec ./raytracer --scene-path {} --output-path {} \; - tar -czf raytracer-examples.tar.gz raytracer-examples -I 'gzip -9' + tar -czf - raytracer-examples | gzip -9 > raytracer-examples.tar.gz - name: Upload to release (examples) uses: svenstaro/upload-release-action@v2