This commit is contained in:
Michal Moskal 2020-09-21 14:52:24 +02:00
Родитель 475139aabd
Коммит cecadd4441
1 изменённых файлов: 37 добавлений и 0 удалений

37
.github/workflows/makecode.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,37 @@
name: MakeCode
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache npm and makecode
uses: actions/cache@v2
with:
path: |
~/.npm
~/.pxt/mkc-cache
key: ${{ runner.os }}
- name: npm install
run: |
npm install -g makecode
- run: makecode -u
- run: cat built/*/*.uf2 > drop.uf2
- name: Upload results
uses: actions/upload-artifact@v1
with:
name: f411.uf2
path: drop.uf2