-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 1003 Bytes
/
build.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
name: Build with Buck
on: [push]
jobs:
build:
# Not latest, because python3.6 is not available on latest
# (https://github.com/actions/setup-python/issues/544),
# and SandakovMM/build-with-buck@v2 action requires it
runs-on: ubuntu-20.04
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v4
with:
submodules: recursive
# We use tags to determine version, so fetch them
fetch-depth: 0
fetch-tags: true
# Workaround for https://github.com/actions/checkout/issues/882
- name: Explicitly fetch tags
run: git fetch --force --tags
- name: Prepare artifact store
run: mkdir -p ./buck-out/gen
- name: Build debian11to12
id: build
uses: SandakovMM/build-with-buck@v3
with:
command: build
target: :debian11to12
- name: Store result
uses: actions/upload-artifact@v3
with:
name: debian11to12
path: ./buck-out/gen/debian11to12