From 1edf194eee472ba0af60c4069ae8bb17fe7fd7f0 Mon Sep 17 00:00:00 2001 From: Vilius Sutkus '89 Date: Wed, 3 Feb 2021 01:33:00 +0200 Subject: [PATCH] Actually try to install sdkmanager after each commit --- .github/workflows/build-test.yml | 22 ++++++++++++++++++++++ .github/workflows/run.yml | 24 +----------------------- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 46b525a..1ba799d 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -54,6 +54,28 @@ jobs: - run: npm test + runSdkManager: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15, windows-2016, windows-2019 ] + + steps: + - uses: actions/checkout@v2 + + - name: Setup node 12 + uses: actions/setup-node@v2.1.4 + with: + node-version: '12' + + - run: npm ci + - run: npm run build + + - run: node dist/index.js + + - run: sdkmanager --list + lint: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml index 15999af..4cd26dd 100644 --- a/.github/workflows/run.yml +++ b/.github/workflows/run.yml @@ -14,29 +14,7 @@ on: - '.github/*.json' jobs: - runSdkManager: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15, windows-2016, windows-2019 ] - - steps: - - uses: actions/checkout@v2 - - - name: Setup node 12 - uses: actions/setup-node@v2.1.4 - with: - node-version: '12' - - - run: npm ci - - run: npm run build - - - run: node dist/index.js - - - run: sdkmanager --list - - buildSampleApplication: + build: runs-on: ${{ matrix.os }} strategy: matrix: