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 13703f0
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/check_push_cmake_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
name: cmake-js build
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 2
matrix:
os: [macos-latest, ubuntu-latest]
node: [8, 12, 13]
Expand All @@ -28,10 +29,21 @@ jobs:
node: 13

steps:
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- name: setup-node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: setup-node retry
uses: actions/setup-node@v1
if: failure()
with:
node-version: ${{ matrix.node }}
- name: setup-node third-try
uses: actions/setup-node@v1
if: failure()
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 @@ -91,7 +103,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 13703f0

Please sign in to comment.