0.0.9
This commit is contained in:
Родитель
769ccfb9fa
Коммит
d59de75574
|
@ -1,4 +1,4 @@
|
|||
name: MakeCode Arcade Binary Release
|
||||
name: MakeCode Arcade Release
|
||||
|
||||
on:
|
||||
release:
|
||||
|
@ -28,69 +28,36 @@ jobs:
|
|||
pxt clean
|
||||
pxt install
|
||||
pxt build --cloud
|
||||
- name: upload js
|
||||
uses: actions/upload-release-asset@v1.0.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: ./built/debug/binary.js
|
||||
asset_name: arcade.js
|
||||
asset_content_type: application/octet-stream
|
||||
- name: build D51
|
||||
continue-on-error: true
|
||||
run: |
|
||||
pxt clean
|
||||
pxt install --hw samd51
|
||||
pxt build --hw samd51 --cloud
|
||||
cp ./built/binary.uf2 binary-d51.uf2
|
||||
- name: upload D51
|
||||
uses: actions/upload-release-asset@v1.0.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: ./built/binary.uf2
|
||||
asset_name: arcade-d51.uf2
|
||||
asset_content_type: application/octet-stream
|
||||
- name: build F4
|
||||
continue-on-error: true
|
||||
run: |
|
||||
pxt clean
|
||||
pxt install --hw stm32f401
|
||||
pxt build --hw stm32f401 --cloud
|
||||
cp ./built/binary.uf2 binary-f4.uf2
|
||||
- name: upload F4
|
||||
uses: actions/upload-release-asset@v1.0.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: ./built/binary.uf2
|
||||
asset_name: arcade-f4.uf2
|
||||
asset_content_type: application/octet-stream
|
||||
- name: build P0
|
||||
continue-on-error: true
|
||||
run: |
|
||||
pxt clean
|
||||
pxt install --hw rpi
|
||||
pxt build --hw rpi --cloud
|
||||
cp ./built/binary.uf2 binary-p0.uf2
|
||||
- name: upload P0
|
||||
uses: actions/upload-release-asset@v1.0.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: ./built/binary.uf2
|
||||
asset_name: arcade-p0.uf2
|
||||
asset_content_type: application/octet-stream
|
||||
- name: bundle all
|
||||
run: |
|
||||
cat binary-*.uf2 > built/arcade-all.uf2
|
||||
cat binary-*.uf2 > built/arcade.uf2
|
||||
- name: upload bundled
|
||||
uses: actions/upload-release-asset@v1.0.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ github.event.release.upload_url }}
|
||||
asset_path: ./built/arcade-all.uf2
|
||||
asset_name: arcade-all.uf2
|
||||
asset_path: ./built/arcade.uf2
|
||||
asset_name: arcade.uf2
|
||||
asset_content_type: application/octet-stream
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -26,7 +26,7 @@ function makeCodeRun(options) {
|
|||
if (meta.version && meta.repo && vel) {
|
||||
var ap = document.createElement("a");
|
||||
ap.download = "arcade.uf2";
|
||||
ap.href = "https://github.com/" + meta.repo + "/releases/download/v" + meta.version + "/arcade-all.uf2";
|
||||
ap.href = "https://github.com/" + meta.repo + "/releases/download/v" + meta.version + "/arcade.uf2";
|
||||
ap.innerText = "v" + meta.version;
|
||||
vel.appendChild(ap);
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
0.0.8
|
||||
0.0.9
|
|
@ -155,8 +155,8 @@
|
|||
</iframe>
|
||||
<footer id="footer">
|
||||
Made with ♡ in <a href="https://arcade.makecode.com">MakeCode</a> by <a
|
||||
href="https://github.com/{{ site.github.owner_name }}">{{ site.github.owner_name }}</a>.
|
||||
<a href="https://github.com/{{ site.github.owner_name }}/{{ site.github.repository_name }}">GitHub</a>
|
||||
href="https://github.com/{{ site.github.owner_name }}/{{ site.github.repository_name }}">{{ site.github.owner_name }}</a>.
|
||||
<a href="https://{{ site.github.owner_name }}.github.io/{{ site.github.repository_name }}/README">Manual</a>
|
||||
<span id="version"></span>
|
||||
<div id="fullscreen">⇲</div>
|
||||
</footer>
|
||||
|
|
2
pxt.json
2
pxt.json
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": ".menu",
|
||||
"version": "0.0.8",
|
||||
"version": "0.0.9",
|
||||
"description": "",
|
||||
"dependencies": {
|
||||
"device": "*",
|
||||
|
|
Загрузка…
Ссылка в новой задаче