Skip to content

Commit

Permalink
CI: Use a syntax that makes the script file path relative
Browse files Browse the repository at this point in the history
  • Loading branch information
ParaskP7 committed Jan 28, 2025
1 parent b4feb9a commit 2ed94c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .buildkite/commands/lint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -u

.buildkite/commands/restore-cache.sh
"$(dirname "${BASH_SOURCE[0]}")/restore-cache.sh"

echo "--- 🧹 Linting"
./gradlew :WooCommerce:lintJalapenoDebug
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/commands/prototype-build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -eu

.buildkite/commands/restore-cache.sh
"$(dirname "${BASH_SOURCE[0]}")/restore-cache.sh"

APP_TO_BUILD="${1?You need to specify the app to build, WooCommerce or WooCommerce-Wear}"

Expand Down
2 changes: 1 addition & 1 deletion .buildkite/commands/run-instrumented-tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -eu

.buildkite/commands/restore-cache.sh
"$(dirname "${BASH_SOURCE[0]}")/restore-cache.sh"

echo "--- :rubygems: Setting up Gems"
install_gems
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/commands/run-unit-tests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -eu

.buildkite/commands/restore-cache.sh
"$(dirname "${BASH_SOURCE[0]}")/restore-cache.sh"

echo "--- 🧪 Testing"
set +e
Expand Down

0 comments on commit 2ed94c2

Please sign in to comment.