Skip to content

Commit 06e1205

Browse files
committed
add win & mac, introduced fail-fast
1 parent ae5b778 commit 06e1205

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release.yml

+8-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
# operating-system: [ubuntu-latest, windows-latest, macOS-latest]
14-
operating-system: [ubuntu-latest]
13+
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
1514

1615
runs-on: ${{ matrix.operating-system }}
1716

@@ -61,7 +60,7 @@ jobs:
6160
with:
6261
name: arduino-create-agent-${{ matrix.operating-system }}
6362
path: |
64-
arduino-create-agent
63+
arduino-create-agent*
6564
config.ini
6665
if-no-files-found: error
6766

@@ -76,6 +75,7 @@ jobs:
7675
CHOICE_CERT_INSTALL: "ask_certificates_install=CC" # win,mac:(ff,chrome)
7776

7877
strategy:
78+
fail-fast: false # if one os is failing continue nonetheless
7979
matrix:
8080
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
8181

@@ -86,20 +86,23 @@ jobs:
8686
- chrome
8787
install-builder-name: linux
8888
executable-path: artifacts/linux-386/
89+
extension: ''
8990
- operating-system: windows-latest
9091
browsers:
9192
- firefox
9293
- chrome
9394
- edge
9495
install-builder-name: windows
9596
executable-path: artifacts/windows/
97+
extension: .exe
9698
- operating-system: macOS-latest
9799
bowsers:
98100
- firefox
99101
- chrome
100102
- safari
101103
install-builder-name: osx
102104
executable-path: '' # TBD
105+
extension: ''
103106

104107
container:
105108
image: floydpink/ubuntu-install-builder:latest
@@ -120,9 +123,10 @@ jobs:
120123

121124
- name: Make executable
122125
run: chmod +x ${{ matrix.executable-path }}arduino-create-agent
126+
if: matrix.operating-system == 'ubuntu-latest' && matrix.operating-system == 'macOS-latest'
123127

124128
- name: Rename executable to Arduino_Create_Bridge
125-
run: mv ${{ matrix.executable-path }}arduino-create-agent ${{ matrix.executable-path }}/Arduino_Create_Bridge
129+
run: mv ${{ matrix.executable-path }}arduino-create-agent${{ matrix.extension }} ${{ matrix.executable-path }}Arduino_Create_Bridge${{ matrix.extension }}
126130

127131
- name: Save license to file
128132
run: echo "${{ secrets.INSTALLER_LICENSE }}" > /tmp/license.xml

0 commit comments

Comments
 (0)