Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c11b9dd

Browse filesBrowse files
authored
[skip-changelog] Fixed release workflow build (#2896)
1 parent a6db55f commit c11b9dd
Copy full SHA for c11b9dd

File tree

1 file changed

+23
-14
lines changed
Filter options

1 file changed

+23
-14
lines changed

‎.github/workflows/release-go-task.yml

Copy file name to clipboardExpand all lines: .github/workflows/release-go-task.yml
+23-14Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,29 @@ jobs:
2020
create-release-artifacts:
2121
outputs:
2222
version: ${{ steps.get-version.outputs.version }}
23-
runs-on: ubuntu-latest
23+
runs-on: ${{ matrix.env.runner }}
2424

2525
strategy:
2626
matrix:
27-
os:
28-
- Windows_32bit
29-
- Windows_64bit
30-
- Linux_32bit
31-
- Linux_64bit
32-
- Linux_ARMv6
33-
- Linux_ARMv7
34-
- Linux_ARM64
35-
- macOS_64bit
36-
- macOS_ARM64
27+
env:
28+
- os: Windows_32bit
29+
runner: ubuntu-latest
30+
- os: Windows_64bit
31+
runner: ubuntu-latest
32+
- os: Linux_32bit
33+
runner: ubuntu-latest
34+
- os: Linux_64bit
35+
runner: ubuntu-latest
36+
- os: Linux_ARMv6
37+
runner: ubuntu-latest
38+
- os: Linux_ARMv7
39+
runner: ubuntu-latest
40+
- os: Linux_ARM64
41+
runner: ubuntu-latest
42+
- os: macOS_64bit
43+
runner: ubuntu-latest
44+
- os: macOS_ARM64
45+
runner: ubuntu-24.04-arm
3746

3847
steps:
3948
- name: Checkout repository
@@ -43,7 +52,7 @@ jobs:
4352

4453
- name: Create changelog
4554
# Avoid creating the same changelog for each os
46-
if: matrix.os == 'Windows_32bit'
55+
if: matrix.env.os == 'Windows_32bit'
4756
uses: arduino/create-changelog@v1
4857
with:
4958
tag-regex: '^v[0-9]+\.[0-9]+\.[0-9]+.*$'
@@ -58,7 +67,7 @@ jobs:
5867
version: 3.x
5968

6069
- name: Build
61-
run: task dist:${{ matrix.os }}
70+
run: task dist:${{ matrix.env.os }}
6271

6372
- name: Output Version
6473
id: get-version
@@ -68,7 +77,7 @@ jobs:
6877
uses: actions/upload-artifact@v4
6978
with:
7079
if-no-files-found: error
71-
name: ${{ env.ARTIFACT_NAME }}-${{ matrix.os }}
80+
name: ${{ env.ARTIFACT_NAME }}-${{ matrix.env.os }}
7281
path: ${{ env.DIST_DIR }}
7382

7483
notarize-macos:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.