Skip to content

Commit 8aa6453

Browse files
author
Luca Bianconi
committed
fix(ci): tasks conditions
1 parent fb6e552 commit 8aa6453

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
- Linux_ARM64
3737
- macOS_64bit
3838
- macOS_ARM64
39+
- jsonschema
3940

4041
steps:
4142
- name: Checkout repository

Diff for: DistTasks.yml

+6
Original file line numberDiff line numberDiff line change
@@ -251,3 +251,9 @@ tasks:
251251
CONTAINER_TAG: "{{.GO_VERSION}}-darwin-arm64-debian10"
252252
PACKAGE_PLATFORM: "macOS_ARM64"
253253
PACKAGE_NAME: "{{.PROJECT_NAME}}_{{.VERSION}}_{{.PACKAGE_PLATFORM}}.tar.gz"
254+
255+
jsonschema:
256+
desc: Copy the jsonschema to dist folder
257+
cmds:
258+
- mkdir --parents {{.DIST_DIR}}
259+
- cp ./configuration/configuration.schema.json {{.DIST_DIR}}/{{.PROJECT_NAME}}_{{.VERSION}}_configuration.schema.json

Diff for: Taskfile.yml

-5
Original file line numberDiff line numberDiff line change
@@ -329,11 +329,6 @@ tasks:
329329
desc: Returns the version used in the project
330330
cmds:
331331
- echo {{.VERSION}}
332-
dist:jsonschema:
333-
desc: Copy the jsonschema to dist folder
334-
cmds:
335-
- mkdir --parents {{.DIST_DIR}}
336-
- cp ./configuration/configuration.schema.json {{.DIST_DIR}}/{{.PROJECT_NAME}}_{{.VERSION}}_configuration.schema.json
337332

338333
vars:
339334
PROJECT_NAME: "arduino-cli"

0 commit comments

Comments
 (0)