From 5b05f93abd4f9906d6cd56a2adbcd5a79bd70c4e Mon Sep 17 00:00:00 2001 From: Xavier Mitault Date: Sun, 14 May 2023 20:42:28 +0200 Subject: [PATCH] [Fix] (CICD) : upload --- .github/workflows/release.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08c36620e..46bff61e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,14 +31,6 @@ 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 @@ -46,10 +38,11 @@ jobs: 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