File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ # YAML -*- mode: yaml; tab-width: 2; indent-tabs-mode: nil; coding: utf-8 -*-
2
+ ---
3
+ name : Build in rootfs for arch
4
+
5
+ on : # yamllint disable-line rule:truthy
6
+ push :
7
+ tags :
8
+ - ' *'
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-24.04
12
+ strategy :
13
+ matrix :
14
+ arch :
15
+ - amd64
16
+ - arm64
17
+ steps :
18
+
19
+ with :
20
+ fetch-depth : 0
21
+ - id : describe
22
+ name : Describe HEAD
23
+ run : |
24
+ echo "describe=$(git describe --tags --always || echo 0)" | tee $GITHUB_OUTPUT
25
+ - name : Setup and build
26
+ run : |
27
+ ARCH=${{ matrix.arch }} ./scripts/build-rootfs.sh
28
+ - name : Upload artifacts
29
+ uses : actions/upload-artifact@v4
30
+ with :
31
+ name : ${{ github.event.repository.name }}-${{ steps.describe.outputs.describe }}-${{ matrix.arch }}
32
+ path : build/dist/
33
+ - name : Upload Release Asset
34
+ id : upload-release-asset
35
+ uses : softprops/action-gh-release@v2
36
+ if : startsWith(github.ref, 'refs/tags/')
37
+ with :
38
+ files : build/dist/*
You can’t perform that action at this time.
0 commit comments