mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 00:19:48 +00:00
Pipeline: update artifact deletion step to ensure previous artifacts are removed
This commit is contained in:
parent
52c8052ce6
commit
1b087349cc
16
.github/workflows/build-and-release.yml
vendored
16
.github/workflows/build-and-release.yml
vendored
@ -538,11 +538,14 @@ jobs:
|
||||
if: ${{ steps.linux_arm_cache.outputs.cache-hit != 'true' && env.SKIP != 'true' }}
|
||||
run: |
|
||||
mv ${{ steps.build-linux-arm-runner.outputs.image }} ${{ runner.temp }}/linux_arm_qemu_cache.img
|
||||
|
||||
- name: Delete previous artifact, which may exist due to caching (Linux - Debian Package)
|
||||
if: ${{ env.SKIP != 'true' }}
|
||||
run: |
|
||||
rm -f result/target/aarch64-unknown-linux-gnu/release/bundle/deb/mind-work-ai-studio_*.deb
|
||||
|
||||
#
|
||||
# This step does not work, because we start a VM with qemu to run the build.
|
||||
#
|
||||
#- name: Delete previous artifact, which may exist due to caching (Linux - Debian Package)
|
||||
# if: ${{ env.SKIP != 'true' }}
|
||||
# run: |
|
||||
# rm -f result/target/aarch64-unknown-linux-gnu/release/bundle/deb/mind-work-ai-studio_*.deb
|
||||
|
||||
- name: Build Tauri project
|
||||
if: ${{ env.SKIP != 'true' }}
|
||||
@ -568,6 +571,9 @@ jobs:
|
||||
|
||||
shell: /bin/bash
|
||||
commands: |
|
||||
# Delete all previous artifacts, which may exist due to caching:
|
||||
rm -f result/target/aarch64-unknown-linux-gnu/release/bundle/deb/mind-work-ai-studio_*.deb
|
||||
|
||||
export HOME=/root
|
||||
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
|
||||
source "$HOME/.cargo/env"
|
||||
|
Loading…
Reference in New Issue
Block a user