Skip to content

Commit

Permalink
Attempt to resolve release github actions issues affecting RC publica…
Browse files Browse the repository at this point in the history
…tion

Signed-off-by: Darach Ennis <[email protected]>
  • Loading branch information
darach committed Oct 23, 2024
1 parent 869fbe4 commit 350d865
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 6 deletions.
34 changes: 30 additions & 4 deletions .github/workflows/publish-crates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Publish tremor common
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: cargo install cargo-release
Expand All @@ -16,12 +16,38 @@ jobs:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo release publish -p tremor-common -x

publish-tremor-config:
name: Publish tremor config
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: cargo install cargo-release
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo release publish -p tremor-config -x

publish-tremor-codec:
name: Publish tremor codec
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: cargo install cargo-release
- name: Publish to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: cargo release publish -p tremor-codec -x

publish-tremor-value:
needs: [publish-tremor-common]
name: Publish tremor value
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: cargo install cargo-release
Expand All @@ -34,7 +60,7 @@ jobs:
name: Publish tremor influx
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: cargo install cargo-release
Expand All @@ -48,7 +74,7 @@ jobs:
name: Publish tremor script
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: cargo install cargo-release
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
- name: List files
run: ls packaging/out/*
- name: Archive production artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: packages
path: |
packaging/out/*
- uses: AButler/upload-release-assets@v2.0
- uses: AButler/upload-release-assets@v3.0
with:
files: "packaging/out/*"
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 350d865

Please sign in to comment.