Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
helgatheviking committed May 11, 2024
1 parent 6d31fb5 commit b058014
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
steps:

- name: "Checks out the repository."
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"

- name: "Sets up PHP with Composer."
uses: shivammathur/setup-php@v2
Expand All @@ -59,7 +59,7 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: "Sets up Composer Caching."
uses: "actions/cache@v3"
uses: "actions/cache@v4"
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-php-composer-build-${{ hashFiles('**/composer.lock') }}
Expand All @@ -76,17 +76,17 @@ jobs:
composer install --no-dev --no-interaction --prefer-dist --no-scripts
- name: "Setup NodeJS."
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'

- name: "Get NPM cache directory."
id: npm-cache-dir
run: |
echo "dir=$(npm config get cache)" >> $GITHUB_OUTPUT
- name: "Sets up NPM Caching."
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-npm-build-${{ hashFiles('**/package-lock.json') }}
Expand Down

0 comments on commit b058014

Please sign in to comment.