Skip to content

Commit

Permalink
123
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-online committed Jan 20, 2025
1 parent 5989a50 commit 7243f02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/make/atomic-actions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ go build -o "${INSTALL_DIR}/atomic-actions"
# Step 3: Verify binary installation
if [[ -f "${INSTALL_DIR}/atomic-actions" ]]; then
echo "Binary atomic-actions successfully built at ${INSTALL_DIR}/atomic-actions"
chmod +x "${INSTALL_DIR}/atomic-actions" # Make the binary executable
else
echo "Failed to build atomic-actions binary!" >&2
exit 1
Expand All @@ -34,6 +35,9 @@ rm -rf "${ACTIONS_DEST_PATH}" # Remove existing actions
mkdir -p "${ACTIONS_DEST_PATH}" # Ensure the target directory exists
cp -r "${ACTIONS_SRC_PATH}/." "${ACTIONS_DEST_PATH}" # Copy actions folder

# Set executable permissions for all scripts in the actions folder
find "${ACTIONS_DEST_PATH}" -type f -name "*.sh" -exec chmod +x {} \;

# Step 5: Cleanup temporary files
echo "Cleaning up..."
rm -rf "${BUILD_DIR}"
Expand Down

0 comments on commit 7243f02

Please sign in to comment.