@@ -4,8 +4,8 @@ name: z-wave-protocol-controller Build in rootfs for arch
44
55on : # yamllint disable-line rule:truthy
66 push :
7- tags :
8- - ' *'
7+ # tags:
8+ # - '*'
99jobs :
1010 build :
1111 runs-on : ubuntu-24.04
@@ -17,33 +17,33 @@ jobs:
1717# - armhf # TODO Enable when supported
1818 - i386
1919 steps :
20- 21- with :
22- fetch-depth : 0
23- # Relate-to: https://github.com/actions/checkout/pull/2081#2025
24- ref : ${{ github.ref }}
20+ # - uses: actions/[email protected] 21+ # with:
22+ # fetch-depth: 0
23+ # # Relate-to: https://github.com/actions/checkout/pull/2081#2025
24+ # ref: ${{ github.ref }}
2525
26- - id : describe
27- name : Describe HEAD
28- run : >-
29- echo "describe=$(git describe --tags --always || echo 0)"
30- | tee $GITHUB_OUTPUT
31- - name : Setup and build
32- run : >-
33- ARCH=${{ matrix.arch }}
34- UNIFYSDK_GIT_REPOSITORY=${{ secrets.UNIFYSDK_GIT_REPOSITORY }}
35- UNIFYSDK_GIT_TAG=${{ secrets.UNIFYSDK_GIT_TAG }}
36- ./scripts/build-rootfs.sh
37- - name : Upload artifacts
38- uses : actions/upload-artifact@v4
39- with :
40- # yamllint disable-line rule:line-length
41- name : ${{ github.event.repository.name }}-${{ steps.describe.outputs.describe }}-${{ matrix.arch }}
42- path : build/dist/
43- - name : Build documentation once
44- if : startsWith(github.ref, 'refs/tags/') && matrix.arch == 'amd64'
45- run : >-
46- ./scripts/build-rootfs.sh docs/dist
26+ # - id: describe
27+ # name: Describe HEAD
28+ # run: >-
29+ # echo "describe=$(git describe --tags --always || echo 0)"
30+ # | tee $GITHUB_OUTPUT
31+ # - name: Setup and build
32+ # run: >-
33+ # ARCH=${{ matrix.arch }}
34+ # UNIFYSDK_GIT_REPOSITORY=${{ secrets.UNIFYSDK_GIT_REPOSITORY }}
35+ # UNIFYSDK_GIT_TAG=${{ secrets.UNIFYSDK_GIT_TAG }}
36+ # ./scripts/build-rootfs.sh
37+ # - name: Upload artifacts
38+ # uses: actions/upload-artifact@v4
39+ # with:
40+ # # yamllint disable-line rule:line-length
41+ # name: ${{ github.event.repository.name }}-${{ steps.describe.outputs.describe }}-${{ matrix.arch }}
42+ # path: build/dist/
43+ # - name: Build documentation once
44+ # if: startsWith(github.ref, 'refs/tags/') && matrix.arch == 'amd64'
45+ # run: >-
46+ # ./scripts/build-rootfs.sh docs/dist
4747 - name : Upload Release Asset
4848 id : upload-release-asset
4949 env :
5454 files : build/dist/*
5555 # yamllint disable-line rule:line-length
5656 # TODO: Sign asset: https://github.com/softprops/action-gh-release/issues/580#2025
57- token : ${{ secrets.GH_UNIFY_ACCESS_TOKEN }}
57+ token : ${{ secrets.GH_UNIFY_ACCESS_TOKEN || github.token }}
5858 - name : Upload pages artifact
5959 id : deployment
6060 if : startsWith(github.ref, 'refs/tags/') && matrix.arch == 'amd64'
0 commit comments