Skip to content

Commit

Permalink
🩹 Fix failing bundle step
Browse files Browse the repository at this point in the history
The Bundle CI step is failing due to an `artifacts` directory sometimes
already existing. This adds the `-p` flag to `mkdir` to ensure that,
if the directory already exists, the script won't fail.
  • Loading branch information
bitwizeshift committed Feb 8, 2024
1 parent d6a4fe5 commit 73f0763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/cargo-bundle/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
install_name_tool -add_rpath "@executable_path/../Frameworks" ${app_dir}/Contents/MacOS/*
bundle_dir=$(cd ${app_dir}/..; pwd)
mkdir "${target_dir}/artifacts"
mkdir -p "${target_dir}/artifacts"
tar \
--create \
--verbose \
Expand Down

0 comments on commit 73f0763

Please sign in to comment.