Skip to content

Commit

Permalink
[Fix] (CICD) : upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed May 14, 2023
1 parent 5f04d24 commit 5b05f93
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,18 @@ jobs:
cp -r plugins raytracer-bin/
tar -czf - raytracer-bin | gzip -9 > raytracer.tar.gz
- name: Upload to release (binary)
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "raytracer.tar.gz"
tag: ${{ github.ref }}
overwrite: true

- name: Package to archive (examples)
run: |
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 | gzip -9 > raytracer-examples.tar.gz
- name: Upload to release (examples)
- name: Upload to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "raytracer-examples.tar.gz"
file: "./*.tar.gz"
file_glob: true
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 5b05f93

Please sign in to comment.