Skip to content

Commit 613e9c4

Browse files
committed
Added back release workflow
1 parent 97f9959 commit 613e9c4

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/release.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,40 @@ on:
44
types: [published]
55

66
jobs:
7+
publish:
8+
name: publish
9+
runs-on: ubuntu-latest
10+
timeout-minutes: 60
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v3
14+
15+
- name: Install Rust toolchain
16+
uses: actions-rs/toolchain@v1
17+
with:
18+
toolchain: stable
19+
profile: minimal
20+
override: true
21+
- name: Install cargo-workspaces
22+
uses: actions-rs/[email protected]
23+
with:
24+
crate: cargo-workspaces
25+
- name: Release
26+
env:
27+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
28+
PATCH: ${{ github.run_number }}
29+
shell: bash
30+
run: |
31+
git config --global user.email "[email protected]"
32+
git config --global user.name "Github Action"
33+
cargo workspaces publish \
34+
--from-git \
35+
--yes \
36+
--no-git-commit \
37+
skip
38+
739
doc-publish:
40+
needs: publish
841
runs-on: ubuntu-latest
942
timeout-minutes: 60
1043
steps:

0 commit comments

Comments
 (0)