From 01736533cebdb982aff6c0694a99d66eb2b8081e Mon Sep 17 00:00:00 2001 From: KalbeAbbas Date: Fri, 9 Oct 2020 17:32:54 +0500 Subject: [PATCH] Update microbit.yml --- .github/workflows/microbit.yml | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/.github/workflows/microbit.yml b/.github/workflows/microbit.yml index 964b39f..b63ac3b 100644 --- a/.github/workflows/microbit.yml +++ b/.github/workflows/microbit.yml @@ -1,19 +1,10 @@ name: microbit -on: - push: - schedule: - - cron: '0 0 5,20 * *' +on: [push] jobs: - prepare: - runs-on: ubuntu-latest - if: "! contains(github.event.head_commit.message, '[skip ci]')" - steps: - - run: echo "${{ github.event.head_commit.message }}" - build: - needs: prepare + runs-on: ubuntu-latest strategy: @@ -26,17 +17,13 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - - name: microbit pxt.json - uses: datamonsters/replace-action@master - with: - files: 'pxt.json' - replacements: 'core=microbit' - - name: microbit compilation + - name: npm install run: | npm install -g pxt pxt target microbit + - name: build + run: | pxt install pxt build --cloud env: - CI: true \ No newline at end of file + CI: true