From: Jérémie Astor Date: Wed, 16 Sep 2020 22:37:38 +0000 (+0200) Subject: Update build.yml X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=813ab82455ee633800cefd254825428b4d7ea7e0;p=gwion.git Update build.yml --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75b04e7a..66bbebaa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -76,16 +76,14 @@ jobs: key: ${{ runner.os }}-wren - name: wren [ init ] - if: "!contains(github.event.head_commit.message, '[skip benchmark]')" - if: steps.wren.outputs.cache-hit != 'true' + if: "!contains(github.event.head_commit.message, '[skip benchmark]') && steps.wren.outputs.cache-hit != 'true'" run: | git clone https://github.com/wren-lang/wren cd wren/projects/make make - name: wren [ update ] - if: "!contains(github.event.head_commit.message, '[skip benchmark]')" - if: steps.wren.outputs.cache-hit == 'true' + if: "!contains(github.event.head_commit.message, '[skip benchmark]') && steps.wren.outputs.cache-hit == 'true'" run: | cd wren if [ $(git rev-parse HEAD) != $(git ls-remote https://github.com/wren-lang/wren.git HEAD | cut -f1) ] @@ -108,8 +106,7 @@ jobs: key: ${{ runner.os }}-lua - name: Lua [ init ] - if: "!contains(github.event.head_commit.message, '[skip benchmark]')" - if: steps.lua.outputs.cache-hit != 'true' + if: "!contains(github.event.head_commit.message, '[skip benchmark]') && steps.lua.outputs.cache-hit != 'true'" run: | git clone https://github.com/lua/lua cd lua @@ -117,8 +114,7 @@ jobs: make - name: Lua [ update ] - if: "!contains(github.event.head_commit.message, '[skip benchmark]')" - if: steps.lua.outputs.cache-hit == 'true' + if: "!contains(github.event.head_commit.message, '[skip benchmark]') && steps.lua.outputs.cache-hit == 'true'" run: | cd lua if [ $(git rev-parse HEAD) != $(git ls-remote https://github.com/lua/lua.git HEAD | cut -f1) ]