Skip to content

Commit 35bf69b

Browse files
committed
Remove release job from rust-ci workflow
It was insufficient, because it doesn't create a github release, and has been superseded by the new `release.yaml` Signed-off-by: Sahas Subramanian <sahas.subramanian@proton.me>
1 parent 44bacc8 commit 35bf69b

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

.github/workflows/rust-ci.yaml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,26 +28,3 @@ jobs:
2828

2929
- name: Run tests
3030
uses: frequenz-floss/gh-action-cargo-test@v1.0.0
31-
32-
release:
33-
runs-on: ubuntu-latest
34-
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
35-
needs: [test]
36-
steps:
37-
- uses: actions/checkout@v5
38-
- uses: actions/cache@v4
39-
with:
40-
path: ~/.cargo/registry
41-
key: '${{ runner.os }}-cargo-registry-${{ hashFiles(''**/Cargo.lock'') }}'
42-
- uses: actions/cache@v4
43-
with:
44-
path: ~/.cargo/git
45-
key: '${{ runner.os }}-cargo-index-${{ hashFiles(''**/Cargo.lock'') }}'
46-
- uses: actions/cache@v4
47-
with:
48-
path: target
49-
key: '${{ runner.os }}-cargo-build-target-${{ hashFiles(''**/Cargo.lock'') }}'
50-
- name: package
51-
run: cargo package
52-
- name: publish
53-
run: cargo publish --token ${{ secrets.CRATES_TOKEN }}

0 commit comments

Comments
 (0)