-
Notifications
You must be signed in to change notification settings - Fork 2
55 lines (52 loc) · 1.35 KB
/
build_macos-arm64.yaml
File metadata and controls
55 lines (52 loc) · 1.35 KB
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
53
54
55
name: Build ARM64 MacOS Profile
on:
push:
tags:
- 'v**'
branches:
- 'main'
- 'dev'
paths-ignore:
- '**.md'
- '**.txt'
pull_request:
branches:
- 'main'
- 'dev'
paths-ignore:
- '**.md'
- '**.txt'
env:
CI_ENV: IN_CI
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: 'actions/checkout@v4'
- name: Build
run: |
sudo -E ./make macos_arm64
sudo mv output/alpine_uefi_bootable-arm64.img.zst output/bootable-arm64.img.zst
sudo mv output/alpine_uefi_bootable-arm64.img.zst.sha256sum output/bootable-arm64.img.zst.sha256sum
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: bootable-arm64.img.zst
path: |
output/bootable-arm64.img.zst
output/bootable-arm64.img.zst.sha256sum
if-no-files-found: error
overwrite: true
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: |
output/bootable-arm64.img.zst
output/bootable-arm64.img.zst.sha256sum
append_body: true
draft: false
prerelease: false
make_latest: true