diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 02c588a..33b56d7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,13 +28,13 @@ jobs: - name: Get Composer Cache Directory id: composer-cache-dir run: | - echo "{dir}=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + echo "DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache PHP Dependencies id: composer-cache uses: actions/cache@v4 with: - path: ${{ steps.composer-cache-dir.outputs.dir }} + path: ${{ steps.composer-cache-dir.outputs.DIR }} key: ${{ runner.os }}-composer-7.4-${{ hashFiles('composer.lock') }} - name: Install PHP Dependencies @@ -43,16 +43,16 @@ jobs: - name: Get npm cache directory id: npm-cache-dir run: | - echo "{dir}=$(npm config get cache)" >> $GITHUB_OUTPUT - echo "{npm_version}=$(npm -v)" >> $GITHUB_OUTPUT - echo "{node_version}=$(node -v)" >> $GITHUB_OUTPUT + echo "DIR=$(npm config get cache)" >> $GITHUB_OUTPUT + echo "NPM_VERSION=$(npm -v)" >> $GITHUB_OUTPUT + echo "NODE_VERSION=$(node -v)" >> $GITHUB_OUTPUT - name: Cache JS Dependencies id: npm-cache uses: actions/cache@v4 with: - path: ${{ steps.npm-cache-dir.outputs.dir }} - key: ${{ runner.os }}-npm-${{ steps.npm-cache-dir.outputs.node_version }}-${{ steps.npm-cache-dir.outputs.npm_version }}-${{ hashFiles('package-lock.json') }} + path: ${{ steps.npm-cache-dir.outputs.DIR }} + key: ${{ runner.os }}-npm-${{ steps.npm-cache-dir.outputs.NODE_VERSION }}-${{ steps.npm-cache-dir.outputs.NPM_VERSION }}-${{ hashFiles('package-lock.json') }} - name: Install JS Dependencies run: npm install --legacy-peer-deps diff --git a/.github/workflows/js-tests.yml b/.github/workflows/js-tests.yml index 069907c..5fd7330 100644 --- a/.github/workflows/js-tests.yml +++ b/.github/workflows/js-tests.yml @@ -29,16 +29,16 @@ jobs: - name: Get npm cache directory id: npm-cache-dir run: | - echo "{dir}=$(npm config get cache)" >> $GITHUB_OUTPUT - echo "{npm_version}=$(npm -v)" >> $GITHUB_OUTPUT - echo "{node_version}=$(node -v)" >> $GITHUB_OUTPUT + echo "DIR=$(npm config get cache)" >> $GITHUB_OUTPUT + echo "NPM_VERSION=$(npm -v)" >> $GITHUB_OUTPUT + echo "NODE_VERSION=$(node -v)" >> $GITHUB_OUTPUT - name: Cache Dependencies id: npm-cache uses: actions/cache@v4 with: - path: ${{ steps.npm-cache-dir.outputs.dir }} - key: ${{ runner.os }}-npm-${{ steps.npm-cache-dir.outputs.node_version }}-${{ steps.npm-cache-dir.outputs.npm_version }}-${{ hashFiles('package-lock.json') }} + path: ${{ steps.npm-cache-dir.outputs.DIR }} + key: ${{ runner.os }}-npm-${{ steps.npm-cache-dir.outputs.NODE_VERSION }}-${{ steps.npm-cache-dir.outputs.NPM_VERSION }}-${{ hashFiles('package-lock.json') }} - name: Install Dependencies run: npm install --legacy-peer-deps diff --git a/.github/workflows/php-standards.yml b/.github/workflows/php-standards.yml index fca0952..f9f9f9b 100644 --- a/.github/workflows/php-standards.yml +++ b/.github/workflows/php-standards.yml @@ -31,13 +31,13 @@ jobs: - name: Get Composer Cache Directory id: composer-cache-dir run: | - echo "{dir}=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + echo "DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache PHP Dependencies id: composer-cache uses: actions/cache@v4 with: - path: ${{ steps.composer-cache-dir.outputs.dir }} + path: ${{ steps.composer-cache-dir.outputs.DIR }} key: ${{ runner.os }}-composer-7.2-${{ hashFiles('composer.lock') }} - name: Install PHP Dependencies diff --git a/.github/workflows/test-nightly.yml b/.github/workflows/test-nightly.yml index 5f0804a..2480e87 100644 --- a/.github/workflows/test-nightly.yml +++ b/.github/workflows/test-nightly.yml @@ -38,13 +38,13 @@ jobs: - name: Get Composer Cache Directory id: composer-cache-dir run: | - echo "{dir}=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + echo "DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache PHP Dependencies id: composer-cache uses: actions/cache@v4 with: - path: ${{ steps.composer-cache-dir.outputs.dir }} + path: ${{ steps.composer-cache-dir.outputs.DIR }} key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('composer.lock') }} - name: Install PHP Dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ddb0593..a4734c8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,13 +41,13 @@ jobs: - name: Get Composer Cache Directory id: composer-cache-dir run: | - echo "{dir}=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + echo "DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache PHP Dependencies id: composer-cache uses: actions/cache@v4 with: - path: ${{ steps.composer-cache-dir.outputs.dir }} + path: ${{ steps.composer-cache-dir.outputs.DIR }} key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('composer.lock') }}-wp5.9 - name: Install PHP Dependencies