Skip to content

Commit 350d865

Browse files
committed
Attempt to resolve release github actions issues affecting RC publication
Signed-off-by: Darach Ennis <darach@gmail.com>
1 parent 869fbe4 commit 350d865

File tree

2 files changed

+32
-6
lines changed

2 files changed

+32
-6
lines changed

.github/workflows/publish-crates.yaml

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Publish tremor common
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111
with:
1212
fetch-depth: 0
1313
- run: cargo install cargo-release
@@ -16,12 +16,38 @@ jobs:
1616
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
1717
run: cargo release publish -p tremor-common -x
1818

19+
publish-tremor-config:
20+
name: Publish tremor config
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
- run: cargo install cargo-release
27+
- name: Publish to crates.io
28+
env:
29+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
30+
run: cargo release publish -p tremor-config -x
31+
32+
publish-tremor-codec:
33+
name: Publish tremor codec
34+
runs-on: ubuntu-latest
35+
steps:
36+
- uses: actions/checkout@v4
37+
with:
38+
fetch-depth: 0
39+
- run: cargo install cargo-release
40+
- name: Publish to crates.io
41+
env:
42+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
43+
run: cargo release publish -p tremor-codec -x
44+
1945
publish-tremor-value:
2046
needs: [publish-tremor-common]
2147
name: Publish tremor value
2248
runs-on: ubuntu-latest
2349
steps:
24-
- uses: actions/checkout@v3
50+
- uses: actions/checkout@v4
2551
with:
2652
fetch-depth: 0
2753
- run: cargo install cargo-release
@@ -34,7 +60,7 @@ jobs:
3460
name: Publish tremor influx
3561
runs-on: ubuntu-latest
3662
steps:
37-
- uses: actions/checkout@v3
63+
- uses: actions/checkout@v4
3864
with:
3965
fetch-depth: 0
4066
- run: cargo install cargo-release
@@ -48,7 +74,7 @@ jobs:
4874
name: Publish tremor script
4975
runs-on: ubuntu-latest
5076
steps:
51-
- uses: actions/checkout@v3
77+
- uses: actions/checkout@v4
5278
with:
5379
fetch-depth: 0
5480
- run: cargo install cargo-release

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
- name: List files
1717
run: ls packaging/out/*
1818
- name: Archive production artifacts
19-
uses: actions/upload-artifact@v2
19+
uses: actions/upload-artifact@v4
2020
with:
2121
name: packages
2222
path: |
2323
packaging/out/*
24-
- uses: AButler/upload-release-assets@v2.0
24+
- uses: AButler/upload-release-assets@v3.0
2525
with:
2626
files: "packaging/out/*"
2727
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)