Skip to content

Commit bf32db6

Browse files
committed
uniform release to test workflow
1 parent 251cb51 commit bf32db6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
operating-system: [ubuntu-18.04, windows-2019, macos-10.15]
13+
include:
14+
- operating-system: ubuntu-18.04
15+
- operating-system: windows-2019
16+
arch: 386
17+
- operating-system: windows-2019
18+
arch: amd64
19+
- operating-system: macos-10.15
1420

1521
runs-on: ${{ matrix.operating-system }}
1622
env:
@@ -75,11 +81,11 @@ jobs:
7581
GOARCH: 386 # 32bit architecture (for support)
7682
GO386: 387 # support old instruction sets without MMX (used in the Pentium 4) (will be deprecated in GO > 1.15 https://golang.org/doc/go1.15)
7783
run: task build-win
78-
if: matrix.operating-system == 'windows-2019'
84+
if: matrix.operating-system == 'windows-2019' && matrix.arch == '386'
7985

8086
- name: Build the Agent for win64
8187
run: task build-win # GOARCH=amd64 by default on the runners
82-
if: matrix.operating-system == 'windows-2019'
88+
if: matrix.operating-system == 'windows-2019' && matrix.arch == 'amd64'
8389

8490
- name: Build the Agent for macos
8591
env:
@@ -93,7 +99,7 @@ jobs:
9399
- name: Upload artifacts
94100
uses: actions/upload-artifact@v2
95101
with:
96-
name: arduino-create-agent-${{ matrix.operating-system }}
102+
name: arduino-create-agent-${{ matrix.operating-system }}${{ matrix.arch }}
97103
path: |
98104
arduino-create-agent*
99105
config.ini

0 commit comments

Comments
 (0)