Skip to content

Commit aac2002

Browse files
committed
fine tuning and add of env vars
1 parent d48756a commit aac2002

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ jobs:
6767
needs: build
6868
runs-on: ubuntu-latest
6969

70+
env:
71+
INSTALLER_VARS: "project.outputDirectory=$PWD project.version=${GITHUB_REF} workspace=$PWD realname=Arduino_Create_Bridge"
72+
CERT_INSTALL: "ask_certificates_install=CI" # win(edge),mac(safari)
73+
NO_CERT_INSTALL: "ask_certificates_install=CS" # linux
74+
CHOICE_CERT_INSTALL: "ask_certificates_install=CC" # win,mac:(ff,chrome)
75+
7076
container:
7177
image: floydpink/ubuntu-install-builder:latest
7278

@@ -91,7 +97,7 @@ jobs:
9197
run: echo "${{ secrets.INSTALLER_LICENSE }}" > /tmp/license.xml
9298

9399
- name: Launch Bitrock installbuilder-20
94-
run: /opt/installbuilder-20.3.0/bin/builder build installer.xml linux --verbose --license /tmp/license.xml --setvars project.outputDirectory=$PWD project.version=${buildrevision} workspace=$PWD realname=${REALNAME}
100+
run: /opt/installbuilder-20.3.0/bin/builder build installer.xml linux --verbose --license /tmp/license.xml --setvars ${{ env.INSTALLER_VARS }} ${{ env.NO_CERT_INSTALL }}
95101

96102
- name: Upload artifacts
97103
uses: actions/upload-artifact@v2

0 commit comments

Comments
 (0)