Skip to content

Commit

Permalink
Fix publish order (#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
vigoo authored Oct 11, 2024
1 parent 2461028 commit 88624de
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ command = "cargo"
args = ["build", "--workspace", "--all-targets"]

[tasks.build-bins-non-ci]
condition = { env_not_set = ["CI"] } # on CI we always 'cargo make build' first so no need to recompile bins
condition = { env_not_set = [
"CI",
] } # on CI we always 'cargo make build' first so no need to recompile bins
run_task = "build-bins"

[tasks.build-bins]
Expand Down Expand Up @@ -106,7 +108,7 @@ command = "cargo"
args = [
"build",
"-p",
"golem-shard-manager", # NOTE: Not all projects are cross-compilable because of an openssl dependency
"golem-shard-manager", # NOTE: Not all projects are cross-compilable because of an openssl dependency
"-p",
"golem-worker-executor",
"-p",
Expand Down Expand Up @@ -322,7 +324,7 @@ args = [
"integration",
"--",
"--nocapture",
"--test-threads=1"
"--test-threads=1",
]

## ** CHECK-OPENAPI **
Expand Down Expand Up @@ -405,10 +407,10 @@ args = ["-v", "./target/golem-service.yaml", "./openapi/golem-service.yaml"]
description = "Publishes packages to crates.io"
dependencies = [
"build-release",
"publish-golem-client",
"publish-golem-api-grpc",
"publish-golem-rib",
"publish-golem-common",
"publish-golem-client",
"publish-golem-rib",
"publish-golem-service-base",
"publish-golem-test-framework",
"publish-golem-cli",
Expand Down Expand Up @@ -658,9 +660,7 @@ export RUST_BACKTRACE=1

[tasks.check-configs]
description = "Generates configs from code and checks if it's committed"
dependencies = [
"generate-configs"
]
dependencies = ["generate-configs"]

script = '''
git diff --exit-code \
Expand Down Expand Up @@ -694,4 +694,4 @@ docker compose --project-directory log-tools/elastic stop
description = "Stops and removes the elastic environment, including all data"
script = '''
docker compose --project-directory log-tools/elastic down --volumes
'''
'''

0 comments on commit 88624de

Please sign in to comment.