File tree Expand file tree Collapse file tree 8 files changed +39235
-1
lines changed Expand file tree Collapse file tree 8 files changed +39235
-1
lines changed Original file line number Diff line number Diff line change
1
+ index.html linguist-generated =true
2
+ assets /index.html linguist-generated =true
3
+ assets /js /loader.js linguist-generated =true
4
+ assets /js /binary.js linguist-generated =true
5
+ assets /version.txt linguist-generated =true
Original file line number Diff line number Diff line change
1
+ name : MakeCode Arcade Release
2
+
3
+ on :
4
+ release :
5
+ types :
6
+ - created
7
+ jobs :
8
+ build :
9
+
10
+ runs-on : ubuntu-latest
11
+
12
+ strategy :
13
+ matrix :
14
+ node-version : [8.x]
15
+
16
+ steps :
17
+ - uses : actions/checkout@v1
18
+ - name : install node.js ${{ matrix.node-version }}
19
+ uses : actions/setup-node@v1
20
+ with :
21
+ node-version : ${{ matrix.node-version }}
22
+ - name : install makecode
23
+ run : |
24
+ npm install -g pxt
25
+ pxt target arcade
26
+ - name : build js
27
+ run : |
28
+ pxt clean
29
+ pxt install
30
+ pxt build --cloud
31
+ - name : build D51
32
+ continue-on-error : true
33
+ run : |
34
+ pxt clean
35
+ pxt install --hw samd51
36
+ pxt build --hw samd51 --cloud
37
+ cp ./built/binary.uf2 binary-d51.uf2
38
+ - name : build F4
39
+ continue-on-error : true
40
+ run : |
41
+ pxt clean
42
+ pxt install --hw stm32f401
43
+ pxt build --hw stm32f401 --cloud
44
+ cp ./built/binary.uf2 binary-f4.uf2
45
+ - name : build P0
46
+ continue-on-error : true
47
+ run : |
48
+ pxt clean
49
+ pxt install --hw rpi
50
+ pxt build --hw rpi --cloud
51
+ cp ./built/binary.uf2 binary-p0.uf2
52
+ - name : bundle all
53
+ run : |
54
+ cat binary-*.uf2 > built/arcade.uf2
55
+ - name : upload bundled
56
+ uses : actions/upload-release-asset@v1.0.1
57
+ env :
58
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
59
+ with :
60
+ upload_url : ${{ github.event.release.upload_url }}
61
+ asset_path : ./built/arcade.uf2
62
+ asset_name : arcade.uf2
63
+ asset_content_type : application/octet-stream
You can’t perform that action at this time.
0 commit comments