Skip to content

Commit

Permalink
Merge branch 'main' of github.com:zeek-labs/zeek-build-process
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronHolbrook committed Oct 29, 2023
2 parents b245010 + 55606ba commit 0e7e539
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions bin/zbp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ if (!defined('PHP_VERSION_ID') || PHP_VERSION_ID < 80000) {
exit(254);
}


if ( ! function_exists('add_action') ) {
function add_action() {}
}

if ( ! function_exists('plugin_dir_url' ) ) {
function plugin_dir_url() {}
}

$autoloadLocations = array(
getcwd() . '/vendor/autoload.php',
getcwd() . '/../../autoload.php',
Expand Down
6 changes: 3 additions & 3 deletions templates/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
env:
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup cache environment
id: extcache
uses: shivammathur/cache-extensions@v1
Expand All @@ -19,7 +19,7 @@ jobs:
extensions: ${{ env.extensions }}
key: extensions-${{ hashFiles('composer.lock') }}
- name: Cache extensions
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.extcache.outputs.dir }}
key: ${{ steps.extcache.outputs.key }}
Expand All @@ -33,7 +33,7 @@ jobs:
tools: cs2pr

- name: Cache composer dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
Expand Down

0 comments on commit 0e7e539

Please sign in to comment.