Skip to content

Commit

Permalink
Try and get gh actions working
Browse files Browse the repository at this point in the history
  • Loading branch information
danielholmes committed Apr 9, 2020
1 parent 05def2f commit 78c76dc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,19 @@ jobs:
php-version: ${{ matrix.php_version }}
tools: pecl
extensions: imagick
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: "PHP deps"
run: |
sudo apt install -y pngquant
composer install
composer install --prefer-dist
- name: "Install Yarn"
run: |
sudo apt install -y -qq yarn
Expand Down
2 changes: 1 addition & 1 deletion bgaproject.yml.github.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ extraSrc:
testDb:
namePrefix: battleforhill_test_
user: root
pass: ~
pass: ""

sftp:
host: ""
Expand Down

0 comments on commit 78c76dc

Please sign in to comment.