Skip to content

Commit

Permalink
Use a cache instead of an artifact
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Abraham <cjyabraham@gmail.com>
  • Loading branch information
cjyabraham committed May 19, 2024
1 parent c49079f commit 35088d1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_deploy_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Download build artifacts
uses: actions/download-artifact@v2
- name: Cache vendor folder
uses: actions/cache@v2
env:
cache-name: cache-vendor
with:
name: build-artifacts
path: ./vendor
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('composer.lock') }}

- name: Check for WordPress coding standards
run: composer -n code-sniff
Expand Down

0 comments on commit 35088d1

Please sign in to comment.