Skip to content

Commit e7ce0de

Browse files
committed
Use correct task name to build project in release workflow
The "Release" workflow (Go, Task, CGO) template was recently changed to use a job matrix to run builds for each target in parallel. The new design is intended to use a dedicated task for each target instead of the previous approach of executing a single `dist:all` task. The task name was not updated at that time, which caused the workflow to fail: task: Task "dist:all" not found The task invocation is hereby updated to use the target-specific task names.
1 parent 8ea1f4c commit e7ce0de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
version: 3.x
5656

5757
- name: Build
58-
run: task dist:all
58+
run: task dist:${{ matrix.os }}
5959

6060
- name: Upload artifacts
6161
uses: actions/upload-artifact@v3

workflow-templates/release-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
version: 3.x
5656

5757
- name: Build
58-
run: task dist:all
58+
run: task dist:${{ matrix.os }}
5959

6060
- name: Upload artifacts
6161
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)