forked from diasurgical/devilutionX
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (44 loc) · 1.29 KB
/
miyoo_mini_release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Miyoo Mini Release Build
on:
release:
types: [published]
paths-ignore:
- '*.md'
- 'docs/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
miyoo-mini:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install toolchain
working-directory: ${{github.workspace}}
run: sudo Packaging/miyoo_mini/setup_toolchain.sh
- name: Build
working-directory: ${{github.workspace}}
run: Packaging/miyoo_mini/build.sh
- name: Upload-OnionOS-Package
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
with:
name: devilutionx-miyoo-mini-onion-os.zip
path: build-miyoo-mini/devilutionx-miyoo-mini-onion-os.zip
- name: Upload-miniUI-Package
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
with:
name: devilutionx-miyoo-mini-miniui.zip
path: build-miyoo-mini/devilutionx-miyoo-mini-miniui.zip
- name: Update Release
if: ${{ github.event_name == 'release' && !env.ACT }}
uses: svenstaro/upload-release-action@v2
with:
file: "build-miyoo-mini/devilutionx-*.zip"
file_glob: true
overwrite: true