Skip to content

Commit

Permalink
Update microbit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KalbeAbbas authored Oct 9, 2020
1 parent cde6419 commit 0173653
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/microbit.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
CI: true

0 comments on commit 0173653

Please sign in to comment.