Skip to content

Commit 7b10a4f

Browse files
committed
try new build..
1 parent e30aa5a commit 7b10a4f

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/artifacts.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,22 +282,33 @@ jobs:
282282
runs-on: ubuntu-latest
283283
environment: publish
284284
steps:
285-
- uses: actions/checkout@v3
285+
- name: Checkout sources
286+
uses: actions/checkout@v3
286287
with:
287288
submodules: true
288-
- run: rustup update
289-
- uses: katyo/publish-crates@v2
289+
- name: Publish ontoenv crate
290+
uses: katyo/publish-crates@v2
290291
with:
291292
path: './lib'
292293
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
293294
env:
294295
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
295-
- uses: katyo/publish-crates@v2
296+
- name: Publish ontoenv-cli crate
297+
uses: katyo/publish-crates@v2
296298
with:
297299
path: './cli'
298300
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
299301
env:
300302
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
303+
- name: Wait for crate index propagation
304+
run: sleep 45
305+
- name: Publish pyontoenv crate
306+
uses: katyo/publish-crates@v2
307+
with:
308+
path: './python'
309+
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
310+
env:
311+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
301312
full_archive:
302313
if: github.event_name == 'release'
303314
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)