mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-30 22:11:55 +00:00
improve build workflow cleanup for cache
This commit is contained in:
8
.github/workflows/build-desktop-osx64.yml
vendored
8
.github/workflows/build-desktop-osx64.yml
vendored
@@ -114,6 +114,10 @@ jobs:
|
||||
desktop/target/release/bundle/macos/*.app.tar.gz
|
||||
desktop/target/release/bundle/macos/*.app.tar.gz.sig
|
||||
|
||||
- name: Cleanup Artifacts
|
||||
- name: Clean old bundle artifacts
|
||||
if: always()
|
||||
run: cargo clean
|
||||
run: |
|
||||
bundlePath="${{ github.workspace }}/desktop/target/release/bundle"
|
||||
if [ -d "$bundlePath" ]; then
|
||||
rm -rf "$bundlePath"
|
||||
fi
|
||||
|
||||
8
.github/workflows/build-desktop-osxARM.yml
vendored
8
.github/workflows/build-desktop-osxARM.yml
vendored
@@ -115,6 +115,10 @@ jobs:
|
||||
desktop/target/release/bundle/macos/*.app.tar.gz
|
||||
desktop/target/release/bundle/macos/*.app.tar.gz.sig
|
||||
|
||||
- name: Cleanup Artifacts
|
||||
- name: Clean old bundle artifacts
|
||||
if: always()
|
||||
run: cargo clean
|
||||
run: |
|
||||
bundlePath="${{ github.workspace }}/desktop/target/release/bundle"
|
||||
if [ -d "$bundlePath" ]; then
|
||||
rm -rf "$bundlePath"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user