@@ -17,20 +17,23 @@ permissions:
1717
1818jobs :
1919
20- versioning :
21- name : Semantic Release
22- runs-on : ubuntu-latest
23- steps :
24- - uses : actions/checkout@v3
25- with :
26- persist-credentials : false
27- - uses : actions/setup-node@v3
28- - run : npm install --save-dev @semantic-release/exec @semantic-release/git conventional-changelog-eslint semantic-release && npx semantic-release
29-
20+ # How hard can it be?!
21+ # Let's just upgrade verions manually with `.github/workflows/update_version.sh`.
22+ # versioning:
23+ # name: Semantic Release
24+ # runs-on: ubuntu-22.04
25+ # steps:
26+ # - uses: actions/checkout@v3
27+ # with:
28+ # persist-credentials: false
29+ # - name: Set up Node.js
30+ # uses: actions/setup-node@v4
31+ # with:
32+ # node-version: 20
33+ # - run: npm install --ignore-scripts --save-dev --prefix ./package-ci @semantic-release/exec @semantic-release/git conventional-changelog-eslint semantic-release && npx --prefix ./package-ci semantic-release
3034
3135 rebase :
3236 name : Rebase Dev. Branch
33- needs : versioning
3437 runs-on : ubuntu-latest
3538 steps :
3639 - name : Checkout the latest code
5558 build_wheels :
5659 name : Build Python
5760 runs-on : ${{ matrix.os }}
58- needs : versioning
5961 strategy :
6062 matrix :
6163 os : [ubuntu-20.04, macOS-11, windows-2022]
@@ -110,21 +112,38 @@ jobs:
110112 verbose : true
111113 print-hash : true
112114
113- publish_javascript :
114- name : Publish JavaScript
115- needs : versioning
116- runs-on : ubuntu-latest
115+ publish_rust :
116+ name : Publish Rust
117+ runs-on : ubuntu-22.04
117118 steps :
118119 - uses : actions/checkout@v3
119120 with :
120- ref : ' main'
121+ ref : " main"
121122 - run : git submodule update --init --recursive
122- - uses : actions/setup-node@v3
123+ - uses : actions-rs/toolchain@v1
123124 with :
124- node-version : 18
125- - run : npm install
126- - run : npm ci
127- - run : npm test
128- - uses : JS-DevTools/npm-publish@v2
125+ toolchain : stable
126+ override : true
127+ - uses : katyo/publish-crates@v2
129128 with :
130- token : ${{ secrets.NPM_TOKEN }}
129+ registry-token : ${{ secrets.CARGO_REGISTRY_TOKEN }}
130+
131+ # Let's not publish the JavaScript package for now
132+ # publish_javascript:
133+ # name: Publish JavaScript
134+ # needs: versioning
135+ # runs-on: ubuntu-latest
136+ # steps:
137+ # - uses: actions/checkout@v3
138+ # with:
139+ # ref: 'main'
140+ # - run: git submodule update --init --recursive
141+ # - uses: actions/setup-node@v3
142+ # with:
143+ # node-version: 18
144+ # - run: npm install
145+ # - run: npm ci
146+ # - run: npm test
147+ # - uses: JS-DevTools/npm-publish@v2
148+ # with:
149+ # token: ${{ secrets.NPM_TOKEN }}
0 commit comments