From e7ce0deb4a4d30d96b577e84b2af08499f1c55e9 Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 14 Oct 2022 05:26:39 -0700 Subject: [PATCH] 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. --- .../.github/workflows/release-go-task.yml | 2 +- workflow-templates/release-go-task.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-task.yml b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-task.yml index 663b4f50..30f315b8 100644 --- a/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-task.yml +++ b/workflow-templates/dependabot/workflow-template-copies/.github/workflows/release-go-task.yml @@ -55,7 +55,7 @@ jobs: version: 3.x - name: Build - run: task dist:all + run: task dist:${{ matrix.os }} - name: Upload artifacts uses: actions/upload-artifact@v3 diff --git a/workflow-templates/release-go-task.yml b/workflow-templates/release-go-task.yml index 663b4f50..30f315b8 100644 --- a/workflow-templates/release-go-task.yml +++ b/workflow-templates/release-go-task.yml @@ -55,7 +55,7 @@ jobs: version: 3.x - name: Build - run: task dist:all + run: task dist:${{ matrix.os }} - name: Upload artifacts uses: actions/upload-artifact@v3