-
-
Notifications
You must be signed in to change notification settings - Fork 48
40 lines (38 loc) · 1 KB
/
build-zip.yaml
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
name: Build Zip CI
on:
push:
branches: [ 'main' ]
pull_request:
branches: [ 'main' ]
jobs:
Build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@main
- name: Install dependencies for build (Apt)
shell: bash
run: |
sudo env DEBIAN_FRONTEND=noninteractive apt update -y && \
sudo env DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends libarchive-tools curl jq tree
- name: Build Zip x64
shell: bash
env:
ARCH: 'x64'
OUT_ZIP: 'Alpine.zip'
run: make -e && tree
- name: Build Zip ARM64
shell: bash
env:
ARCH: 'arm64'
OUT_ZIP: 'Alpine_arm64.zip'
run: make -e && tree
- name: Upload a Build Artifact x64
uses: actions/upload-artifact@main
with:
name: Alpine.zip
path: ./Alpine.zip
- name: Upload a Build Artifact ARM64
uses: actions/upload-artifact@main
with:
name: Alpine_arm64.zip
path: ./Alpine_arm64.zip