Skip to content

Commit 71bbc48

Browse files
committed
Revert "feat: NPM Bump version"
This reverts commit 921d429.
1 parent 921d429 commit 71bbc48

File tree

4 files changed

+1247
-1171
lines changed

4 files changed

+1247
-1171
lines changed

.github/workflows/release.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Caching objects
16+
id: cache-objects
17+
uses: actions/cache@v4
18+
with:
19+
path: |
20+
~/.cargo
21+
${{ github.workspace }}/target
22+
key: ${{ runner.os }}-release-objects
23+
24+
- name: Set up Node.js
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: '20'
28+
29+
- name: Install dependencies
30+
run: npm ci
31+
32+
- name: Install cargo-release
33+
run: cargo install cargo-release
34+
35+
- name: Semantic Release
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
39+
run: npx semantic-release

.github/workflows/rust.yml

Lines changed: 4 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@ name: Rust
22

33
on:
44
push:
5-
branches:
6-
- '**'
5+
branches: [ "main" ]
6+
tags:
7+
- '*'
78
pull_request:
8-
types: [closed]
9-
branches:
10-
- main
9+
branches: [ "main" ]
1110

1211
env:
1312
CARGO_TERM_COLOR: always
@@ -60,37 +59,3 @@ jobs:
6059
# cargo miri setup
6160
# - name: Test with Miri
6261
# run: cargo miri test
63-
64-
release:
65-
needs: build
66-
runs-on: ubuntu-latest
67-
if: github.event.pull_request.merged == true
68-
69-
steps:
70-
- uses: actions/checkout@v4
71-
72-
- name: Caching objects
73-
id: cache-objects
74-
uses: actions/cache@v4
75-
with:
76-
path: |
77-
~/.cargo
78-
${{ github.workspace }}/target
79-
key: ${{ runner.os }}-release-objects
80-
81-
- name: Set up Node.js
82-
uses: actions/setup-node@v4
83-
with:
84-
node-version: '24'
85-
86-
- name: Install dependencies
87-
run: npm ci
88-
89-
- name: Install cargo-release
90-
run: cargo install cargo-release
91-
92-
- name: Semantic Release
93-
env:
94-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
95-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
96-
run: npx semantic-release

0 commit comments

Comments
 (0)