Skip to content

Commit 11fc573

Browse files
committed
fix agent being built for 32 bit linux for real
1 parent 9a500b4 commit 11fc573

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,12 @@ jobs:
394394
# installbuilder reads the env vars with certs paths and use it to sign the installer.
395395
- name: Launch Bitrock installbuilder
396396
run: |
397-
${{ env.INSTALLBUILDER_PATH }} build installer.xml ${{ matrix.platform-name }} --verbose --license /tmp/license.xml --setvars ${{ env.INSTALLER_VARS }} architecture=${{ matrix.arch }}
397+
if [[ ${{matrix.platform-name}} == "linux" ]]
398+
then
399+
${{ env.INSTALLBUILDER_PATH }} build installer.xml ${{ matrix.platform-name }}-x64 --verbose --license /tmp/license.xml --setvars ${{ env.INSTALLER_VARS }} architecture=${{ matrix.arch }}
400+
else
401+
${{ env.INSTALLBUILDER_PATH }} build installer.xml ${{ matrix.platform-name }} --verbose --license /tmp/license.xml --setvars ${{ env.INSTALLER_VARS }} architecture=${{ matrix.arch }}
402+
fi
398403
399404
- name: Generate archive
400405
run: tar -czvf ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.platform-name }}-${{ matrix.arch }}-installer.tar.gz ArduinoCreateAgent-${GITHUB_REF##*/}-${{ matrix.platform-name }}-${{ matrix.arch }}-installer${{matrix.installer-extension}}

0 commit comments

Comments
 (0)