Skip to content

Commit 9c263c3

Browse files
committed
can have a release action, as a treat
1 parent fc40fbc commit 9c263c3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ports_m68kmac.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: m68k macintosh port
33
on:
44
push:
55
pull_request:
6+
release:
7+
types:
8+
- created
69

710
concurrency:
811
group: ${{ github.workflow }}-${{ github.ref }}
@@ -24,8 +27,14 @@ jobs:
2427
make -C mpy-cross -j$(nproc)
2528
make -C ports/m68kmac submodules
2629
make -C ports/m68kmac -j$(nproc)
30+
2731
- name: Upload disk image
2832
uses: actions/upload-artifact@v4
2933
with:
3034
path: ports/m68kmac/build/micropython.dsk
3135

36+
- uses: shogo82148/actions-upload-release-asset@v1
37+
if: ${{ github.event_name == 'release' }}
38+
with:
39+
asset_path: "ports/m68kmac/build/micropython.dsk"
40+
upload_url: ${{ github.event.release.upload_url }}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy