diff --git a/.gitea/workflows/ci-reusable.yml b/.gitea/workflows/ci-reusable.yml index b24cb25..5ba41b1 100644 --- a/.gitea/workflows/ci-reusable.yml +++ b/.gitea/workflows/ci-reusable.yml @@ -148,8 +148,8 @@ jobs: $zipPath = Join-Path 'dist' ("{0}.zip" -f $PKG_BASENAME) Compress-Archive -Path $PKG_DIR -DestinationPath $zipPath -Force - - name: Upload artifacts - if: inputs.upload-artifacts + - name: Upload Linux/macOS Artifacts + if: inputs.upload-artifacts && runner.os != 'Windows' uses: https://github.com/christopherHX/gitea-upload-artifact@v4 with: name: medicallib-rust-${{ runner.os }}-${{ github.run_number }} @@ -157,5 +157,13 @@ jobs: dist/*.tar.gz dist/*.zip if-no-files-found: error - compression-level: 6 + overwrite: false + + - name: Upload Windows Artifact + if: inputs.upload-artifacts && runner.os == 'Windows' + uses: https://github.com/christopherHX/gitea-upload-artifact@v4 + with: + name: medicallib-rust-${{ runner.os }}-${{ github.run_number }} + path: dist/*.zip # <-- Only look for the .zip file + if-no-files-found: error overwrite: false