Skip to content

Commit 397adf4

Browse files
committed
Add spiffe-rustls to publish workflow
Signed-off-by: Max Lambrecht <[email protected]>
1 parent 16884e5 commit 397adf4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ jobs:
1212
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1313
with:
1414
submodules: recursive
15+
1516
- name: Cache Project
1617
uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
18+
1719
- name: Install toolchain
1820
uses: ./.github/actions/setup-env
1921
with:
@@ -22,15 +24,23 @@ jobs:
2224
- name: Cargo Login
2325
run: cargo login ${{ secrets.CRATES_IO_TOKEN }}
2426

25-
# Conditional step for spiffe crate
27+
# Publish spiffe crate
2628
- name: Publish spiffe
2729
if: startsWith(github.ref, 'refs/tags/spiffe-')
2830
run: |
2931
cd spiffe
3032
cargo publish
31-
# Conditional step for spire-api crate
33+
34+
# Publish spire-api crate
3235
- name: Publish spire-api
3336
if: startsWith(github.ref, 'refs/tags/spire-api-')
3437
run: |
3538
cd spire-api
3639
cargo publish
40+
41+
# Publish spiffe-rustls crate
42+
- name: Publish spiffe-rustls
43+
if: startsWith(github.ref, 'refs/tags/spiffe-rustls-')
44+
run: |
45+
cd spiffe-rustls
46+
cargo publish

0 commit comments

Comments
 (0)