Skip to content

Commit 677136f

Browse files
committed
test: temporarily disable crates publishing to test release workflow
1 parent 03b3c30 commit 677136f

1 file changed

Lines changed: 29 additions & 19 deletions

File tree

.github/workflows/release-server.yml

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,34 @@ jobs:
7878
path: ${{ steps.binary-archive.outputs.archive_name }}
7979
if-no-files-found: error
8080

81-
publish:
82-
name: Publish to crates.io
81+
# publish:
82+
# name: Publish to crates.io
83+
# runs-on: ubuntu-latest
84+
# needs: build
85+
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/quickmark-server@')
86+
87+
# steps:
88+
# - name: Checkout code
89+
# uses: actions/checkout@v4
90+
91+
# - name: Setup Rust
92+
# uses: dtolnay/rust-toolchain@stable
93+
94+
# - name: Cache cargo registry
95+
# uses: actions/cache@v4
96+
# with:
97+
# path: |
98+
# ~/.cargo/registry
99+
# ~/.cargo/git
100+
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
101+
# restore-keys: |
102+
# ${{ runner.os }}-cargo-
103+
104+
# - name: Publish quickmark-server to crates.io
105+
# run: cargo publish -p quickmark-server --token ${{ secrets.CRATES_IO_TOKEN }}
106+
107+
changelog:
108+
name: Generate changelog
83109
runs-on: ubuntu-latest
84110
needs: build
85111
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/quickmark-server@')
@@ -88,22 +114,6 @@ jobs:
88114
- name: Checkout code
89115
uses: actions/checkout@v4
90116

91-
- name: Setup Rust
92-
uses: dtolnay/rust-toolchain@stable
93-
94-
- name: Cache cargo registry
95-
uses: actions/cache@v4
96-
with:
97-
path: |
98-
~/.cargo/registry
99-
~/.cargo/git
100-
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
101-
restore-keys: |
102-
${{ runner.os }}-cargo-
103-
104-
- name: Publish quickmark-server to crates.io
105-
run: cargo publish -p quickmark-server --token ${{ secrets.CRATES_IO_TOKEN }}
106-
107117
- name: Generate changelog
108118
uses: orhun/git-cliff-action@v4
109119
with:
@@ -120,7 +130,7 @@ jobs:
120130

121131
release:
122132
name: Create Release
123-
needs: [build, publish]
133+
needs: [build, changelog]
124134
runs-on: ubuntu-latest
125135
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/quickmark-server@')
126136
permissions:

0 commit comments

Comments
 (0)