Skip to content

Commit

Permalink
[Fix] (CICD) : fix tar
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed May 14, 2023
1 parent 7e022f3 commit 5f04d24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5f04d24

Please sign in to comment.