Skip to content

Commit

Permalink
shrug.jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
V13Axel committed Aug 6, 2023
1 parent 2178576 commit 1101575
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,37 @@ jobs:
with:
token: ${{ secrets.GH_CHECKOUT_TOKEN }}
submodules: 'recursive'
- uses: actions/cache@v3
id: cache-npm
with:
path: |
./node_modules/
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- uses: actions/cache@v3
id: cache-assets
with:
path: |
./public
key: ${{ runner.os }}-${{ hashFiles('**/resources') }}
- uses: actions/cache@v3
id: cache-composer
with:
path: |
./vendor/
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}
- uses: actions/cache@v3
id: cache-env
with:
path: |
./.env
key: ${{ runner.os }}-${{ hashFiles('**/.env.github') }}
- uses: actions/setup-node@v2
with:
node-version: '20'
- uses: "shivammathur/setup-php@v2"
with:
php-version: "8.1"
- uses: "ramsey/composer-install@v2"
with:
ignore-cache: "yes"
- name: Create env file
run: |
php -r "file_exists('.env') || copy('.env.github', '.env');"
Expand All @@ -59,7 +81,6 @@ jobs:
nodetail: true
- uses: "ramsey/composer-install@v2"
with:
ignore-cache: "yes"
composer-options: "--prefer-dist --optimize-autoloader --no-dev --ignore-platform-reqs"
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down

0 comments on commit 1101575

Please sign in to comment.