-
Notifications
You must be signed in to change notification settings - Fork 194
43 lines (36 loc) · 1.2 KB
/
reuse_build_arm64v8.yml
File metadata and controls
43 lines (36 loc) · 1.2 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
name: arm64v8
on: workflow_call
jobs:
build_arm64v8:
name: arm64v8
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4.1.7
with:
name: repo
path: ./
- name: Setup
run: |
chmod +wr . -R
chmod +x ./**/*.sh
chmod +x ./**/*.pl
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build in Docker
id: build
run: |
docker buildx build --platform linux/arm64 -t 4tqrgqe5yrgfd/figma-linux-artefacts-arm --load -f ./docker/Build_artefacts_arm64v8 .
mkdir -p ./build/installers
docker cp $(docker create 4tqrgqe5yrgfd/figma-linux-artefacts-arm)://usr/src/figma-linux/build/installers/. ./build/installers
perl ./scripts/generate_release_notes.pl
# uses: nanoufo/action-upload-artifacts-and-release-assets@main
# with:
# path: build/installers/figma-linux_*.*
- name: Cache arm64v8 artifacts
id: cache-arm64v8-artifacts
uses: actions/upload-artifact@v3
with:
name: arm64
path: build/installers/*