Skip to content

Commit

Permalink
Sort package release and allow no confirm
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <[email protected]>
  • Loading branch information
Licenser committed Oct 23, 2024
1 parent 884a756 commit 9a689fb
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/publish-crates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo release publish -p tremor-common -x
run: cargo release publish -p tremor-common -x --no-confirm

publish-tremor-config:
name: Publish tremor config
publish-tremor-value:
needs: [publish-tremor-common]
name: Publish tremor value
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -27,10 +28,11 @@ jobs:
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo release publish -p tremor-config -x
run: cargo release publish -p tremor-value -x --no-confirm

publish-tremor-codec:
name: Publish tremor codec
publish-tremor-config:
needs: [publish-tremor-value]
name: Publish tremor config
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -40,11 +42,11 @@ jobs:
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo release publish -p tremor-codec -x
run: cargo release publish -p tremor-config -x --no-confirm

publish-tremor-value:
needs: [publish-tremor-common]
name: Publish tremor value
publish-tremor-codec:
needs: [publish-tremor-value, publish-tremor-common, publish-tremor-config]
name: Publish tremor codec
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -54,7 +56,7 @@ jobs:
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo release publish -p tremor-value -x
run: cargo release publish -p tremor-codec -x --no-confirm

publish-tremor-influx:
name: Publish tremor influx
Expand All @@ -67,7 +69,7 @@ jobs:
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo release publish -p tremor-influx -x
run: cargo release publish -p tremor-influx -x --no-confirm

publish-tremor-script:
needs: [publish-tremor-common, publish-tremor-value, publish-tremor-influx]
Expand All @@ -81,7 +83,7 @@ jobs:
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo release publish -p tremor-script -x
run: cargo release publish -p tremor-script -x --no-confirm

invoke-tremor-language-server:
needs: [publish-tremor-script]
Expand Down

0 comments on commit 9a689fb

Please sign in to comment.