Skip to content

Commit

Permalink
test: update actions/checkout v2. change step timing.
Browse files Browse the repository at this point in the history
  • Loading branch information
k-matsuzawa committed Mar 2, 2020
1 parent 2960a1e commit 6c348f6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/check_push_cmake_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,18 @@ jobs:
exclude:
- os: macos-latest
node: 8
- os: macos-latest
- os: ubuntu-latest
node: 12
- os: ubuntu-latest
node: 13

steps:
- uses: actions/checkout@v2
- name: Clear tool cache
run: rm -rf $RUNNER_TOOL_CACHE/*
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- uses: actions/checkout@v1
- name: cmake-useCache-ubuntu
if: matrix.os == 'ubuntu-latest'
uses: actions/cache@v1
Expand Down Expand Up @@ -66,6 +70,7 @@ jobs:

cmake-build:
name: cmake build
needs: cmake-js-build
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand All @@ -91,7 +96,7 @@ jobs:
target: java

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: setup python
if: matrix.target == 'python'
uses: actions/setup-python@v1
Expand Down

0 comments on commit 6c348f6

Please sign in to comment.