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 9f775d8
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 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,23 @@ jobs:
node: 13

steps:
- uses: actions/setup-node@v1
- uses: actions/checkout@v2
- name: setup-node
uses: actions/setup-node@v1.3.0
continue-on-error: true
with:
node-version: ${{ matrix.node }}
- name: setup-node retry
uses: actions/setup-node@v1.3.0
if: failure()
continue-on-error: true
with:
node-version: ${{ matrix.node }}
- name: setup-node third-try
uses: actions/setup-node@v1.3.0
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 +105,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 9f775d8

Please sign in to comment.