weh
Multi-Platform CI / test-platforms (ubuntu-22.04) (push) Successful in 22s
Multi-Platform CI / test-platforms (windows-latest) (push) Successful in 18s
Multi-Platform CI / package (ubuntu-22.04) (push) Successful in 37s
Multi-Platform CI / package (windows-latest) (push) Successful in 36s
Multi-Platform CI / test-platforms (ubuntu-22.04) (push) Successful in 22s
Multi-Platform CI / test-platforms (windows-latest) (push) Successful in 18s
Multi-Platform CI / package (ubuntu-22.04) (push) Successful in 37s
Multi-Platform CI / package (windows-latest) (push) Successful in 36s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user