3939 password : ${{ secrets.GITHUB_TOKEN }}
4040
4141 - name : Yadoms build script
42- uses : Yadoms/build-yadoms-action@v4.0.2
42+ uses : Yadoms/build-yadoms-action@v4.0.3-beta. 2
4343 with :
4444 registry : ghcr.io
4545 username : ${{ github.actor }}
@@ -65,89 +65,89 @@ jobs:
6565 docker logout ghcr.io || true
6666 rm -f ~/.docker/config.json
6767
68- build-windows :
69- name : Build (Windows)
70- runs-on : windows-latest
71- steps :
72- - name : Checkout code
73- uses : actions/checkout@v4
74-
75- - name : Login to GitHub Container Repository (GHCR)
76- uses : docker/login-action@v3
77- with :
78- registry : ghcr.io
79- username : ${{ github.actor }}
80- password : ${{ secrets.GITHUB_TOKEN }}
81-
82- - name : Yadoms build script
83- uses : Yadoms/build-yadoms-windows-action@v2.0.2
84- with :
85- registry : ghcr.io
86- username : ${{ github.actor }}
87- password : ${{ secrets.GITHUB_TOKEN }}
88- buildImage : ghcr.io/yadoms/build_for_windows:latest
89- entrypoint : " powershell.exe -Command C:\\ work\\ build-scripts\\ windows\\ entrypoint_docker.ps1" # TODO utile ?
90-
91- - name : Archive binaries
92- uses : actions/upload-artifact@v4
93- with :
94- name : Windows-Binaries
95- path : ./bin-windows/package/Yadoms*
96-
97- - name : Archive update packages
98- uses : actions/upload-artifact@v4
99- with :
100- name : Windows-Update
101- path : ./bin-windows/package/update*
102-
103- - name : Cleanup Docker credentials
104- if : always()
105- shell : powershell
106- run : |
107- docker logout ghcr.io 2>$null
108- Remove-Item "$env:USERPROFILE\.docker\config.json" -Force -ErrorAction SilentlyContinue
109-
110- rpi-image :
111- name : RaspberryPI image - ${{ matrix.language.label }}
112- runs-on : ubuntu-latest
113- needs : build-linux
114- strategy :
115- fail-fast : false
116- matrix :
117- language :
118- - lang : fr
119- label : FR
120- - lang : en
121- label : EN
122-
123- steps :
124- - name : Download RaspberryPI binaries
125- uses : actions/download-artifact@v4
126- with :
127- name : RaspberryPI-Binaries
128- path : ./
129-
130- - name : Build RaspberryPI image (${{ matrix.language.label }})
131- uses : Yadoms/build-yadoms-rpiimage-action@v1.0.1
132- with :
133- output_folder : $GITHUB_WORKSPACE/bin-RaspberryPI/pi_image
134- language : ${{ matrix.language.lang }}
135- branch_or_tag_name : 2020-12-02-raspbian-buster
136-
137- - name : Archive RPi image (${{ matrix.language.label }})
138- uses : actions/upload-artifact@v4
139- with :
140- name : Raspbian-Lite-${{ matrix.language.label }}-Yadoms-Image
141- path : ./bin-RaspberryPI/pi_image/*.zip
68+ # build-windows:
69+ # name: Build (Windows)
70+ # runs-on: windows-latest
71+ # steps:
72+ # - name: Checkout code
73+ # uses: actions/checkout@v4
74+
75+ # - name: Login to GitHub Container Repository (GHCR)
76+ # uses: docker/login-action@v3
77+ # with:
78+ # registry: ghcr.io
79+ # username: ${{ github.actor }}
80+ # password: ${{ secrets.GITHUB_TOKEN }}
81+
82+ # - name: Yadoms build script
83+ # uses: Yadoms/build-yadoms-windows-action@v2.0.2
84+ # with:
85+ # registry: ghcr.io
86+ # username: ${{ github.actor }}
87+ # password: ${{ secrets.GITHUB_TOKEN }}
88+ # buildImage: ghcr.io/yadoms/build_for_windows:latest
89+ # entrypoint: "powershell.exe -Command C:\\work\\build-scripts\\windows\\entrypoint_docker.ps1" #TODO utile ?
90+
91+ # - name: Archive binaries
92+ # uses: actions/upload-artifact@v4
93+ # with:
94+ # name: Windows-Binaries
95+ # path: ./bin-windows/package/Yadoms*
96+
97+ # - name: Archive update packages
98+ # uses: actions/upload-artifact@v4
99+ # with:
100+ # name: Windows-Update
101+ # path: ./bin-windows/package/update*
102+
103+ # - name: Cleanup Docker credentials
104+ # if: always()
105+ # shell: powershell
106+ # run: |
107+ # docker logout ghcr.io 2>$null
108+ # Remove-Item "$env:USERPROFILE\.docker\config.json" -Force -ErrorAction SilentlyContinue
109+
110+ # rpi-image:
111+ # name: RaspberryPI image - ${{ matrix.language.label }}
112+ # runs-on: ubuntu-latest
113+ # needs: build-linux
114+ # strategy:
115+ # fail-fast: false
116+ # matrix:
117+ # language:
118+ # - lang: fr
119+ # label: FR
120+ # - lang: en
121+ # label: EN
122+
123+ # steps:
124+ # - name: Download RaspberryPI binaries
125+ # uses: actions/download-artifact@v4
126+ # with:
127+ # name: RaspberryPI-Binaries
128+ # path: ./
129+
130+ # - name: Build RaspberryPI image (${{ matrix.language.label }})
131+ # uses: Yadoms/build-yadoms-rpiimage-action@v1.0.1
132+ # with:
133+ # output_folder: $GITHUB_WORKSPACE/bin-RaspberryPI/pi_image
134+ # language: ${{ matrix.language.lang }}
135+ # branch_or_tag_name: 2020-12-02-raspbian-buster
136+
137+ # - name: Archive RPi image (${{ matrix.language.label }})
138+ # uses: actions/upload-artifact@v4
139+ # with:
140+ # name: Raspbian-Lite-${{ matrix.language.label }}-Yadoms-Image
141+ # path: ./bin-RaspberryPI/pi_image/*.zip
142142
143143
144144 release :
145145 name : Create/Update Release (tag only)
146146 runs-on : ubuntu-latest
147147 needs :
148148 - build-linux
149- - build-windows
150- - rpi-image
149+ # - build-windows
150+ # - rpi-image
151151 if : github.ref_type == 'tag'
152152 steps :
153153 - name : Download all artifacts
0 commit comments