Skip to content

Commit 03bac63

Browse files
committed
Try to fix CI
1 parent 02ee47a commit 03bac63

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Release
22

33
on:
44
push:
5-
tags:
6-
- 'v*.*.*'
7-
- 'v*.*.*-pre.*'
85

96
permissions:
107
contents: write
@@ -24,8 +21,6 @@ jobs:
2421
steps:
2522
- name: Checkout code
2623
uses: actions/checkout@v4
27-
with:
28-
fetch-depth: 0
2924

3025
- name: Validate tag is on main branch
3126
shell: bash
@@ -90,23 +85,14 @@ jobs:
9085
echo "EOF"
9186
} >> "$GITHUB_OUTPUT"
9287
93-
- name: Create GitHub Release
94-
uses: softprops/action-gh-release@v2
95-
with:
96-
draft: false
97-
prerelease: ${{ contains(github.ref_name, '-pre.') }}
98-
body: ${{ steps.gen-release-note.outputs.release_note }}
99-
env:
100-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10188
10289
publish-crates:
10390
name: Publish to crates.io
10491
runs-on: ubuntu-latest
105-
needs: create-release
10692

10793
steps:
10894
- name: Install Rust toolchain
10995
uses: dtolnay/rust-toolchain@nightly
11096

11197
- name: Publish to crates.io
112-
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
98+
run: cargo publish --token ${{ secrets.CARGO_REGISTRY_TOKEN }} -n

0 commit comments

Comments
 (0)