Skip to content

Commit

Permalink
ci: crates publish before image builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipndev committed Jun 11, 2024
1 parent e1d6449 commit 50b1f7f
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,21 @@ jobs:
- name: repo
run:
path: pipeline-tasks/ci/tasks/update-repo.sh
- task: publish-to-crates
config:
image_resource: #@ rust_task_image_config()
platform: linux
inputs:
- name: version
- name: pipeline-tasks
- name: repo
params:
CRATES_API_TOKEN: #@ data.values.crates_api_token
caches:
- path: cargo-home
- path: cargo-target-dir
run:
path: pipeline-tasks/ci/tasks/publish-to-crates.sh
- in_parallel:
- task: build-osx-release
privileged: true
Expand Down Expand Up @@ -158,21 +173,6 @@ jobs:
OUT: x86_64-unknown-linux-musl
run:
path: pipeline-tasks/ci/tasks/build-release.sh
- task: publish-to-crates
config:
image_resource: #@ rust_task_image_config()
platform: linux
inputs:
- name: version
- name: pipeline-tasks
- name: repo
params:
CRATES_API_TOKEN: #@ data.values.crates_api_token
caches:
- path: cargo-home
- path: cargo-target-dir
run:
path: pipeline-tasks/ci/tasks/publish-to-crates.sh
- put: repo
params:
tag: artifacts/gh-release-tag
Expand Down

0 comments on commit 50b1f7f

Please sign in to comment.