Skip to content

Commit e4eb58b

Browse files
committed
[skip changelog] Add missing checkout steps to build publishing workflow jobs
GitHub Actions workflows are used to automatically generate nightly builds and production releases of the project. A workflow job is dedicated to the publishing of the build. Previously, this job only needed to download the workflow artifact containing the build filess created by the previous job, generate a checksum file, and upload the builds to Arduino's server. None of these operations had any need for the contents of the repository, so a checkout step was not added to the job. An additional operation was recently added to the publishing job: the generation of archives containing the protocol buffer files to publish along with the builds. This new operation does require the contents of the repository. A checkout step was not added to the job at that time, which caused the protocol buffer generation step and the publishing job to fail: task: No Taskfile found in "/home/runner/work/arduino-cli/arduino-cli". Use "task --init" to create a new one The problem is resolved by adding a step that uses the `actions/checkout` GitHub Actions action to checkout the Arduino CLI repository into the runner machine to make it available for use in that job.
1 parent 4bb8314 commit e4eb58b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: .github/workflows/publish-go-nightly-task.yml

+3
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,9 @@ jobs:
230230
- create-windows-installer
231231

232232
steps:
233+
- name: Checkout repository
234+
uses: actions/checkout@v3
235+
233236
- name: Download artifact
234237
uses: actions/download-artifact@v3
235238
with:

Diff for: .github/workflows/release-go-task.yml

+3
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ jobs:
235235
- create-windows-installer
236236

237237
steps:
238+
- name: Checkout repository
239+
uses: actions/checkout@v3
240+
238241
- name: Download artifact
239242
uses: actions/download-artifact@v3
240243
with:

0 commit comments

Comments
 (0)