summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-14 19:52:58 +0300
committerValery Piashchynski <[email protected]>2020-12-14 19:52:58 +0300
commitc7e75a526df0d7eb0bc75c91e5e3e880240a1da4 (patch)
tree9d63867cd00f8bbc9f74804732bf4cf36555c921 /.github
parentbf10e07a89510ac798372358d8b9e4bb9e5b192c (diff)
Update workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7517d873..ddb71fc0 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -30,11 +30,12 @@ jobs:
uses: actions/checkout@v2
- name: Get Composer Cache Directory
- if: ${{ matrix.os }} == 'ubuntu-latest'
+ if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Init Composer Cache # Docs: <https://git.io/JfAKn#php---composer>
+ if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' }}
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}