mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
gci: Fix up the crates.io publishing job
This commit is contained in:
parent
7deeff8404
commit
b6e2624970
1 changed files with 13 additions and 20 deletions
23
.github/workflows/crate-io.yml
vendored
23
.github/workflows/crate-io.yml
vendored
|
@ -1,10 +1,14 @@
|
||||||
---
|
---
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
workflow_run:
|
branches:
|
||||||
branches: [master]
|
- "master"
|
||||||
|
|
||||||
steps:
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
name: Publish to crates.io
|
||||||
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
@ -12,17 +16,6 @@ steps:
|
||||||
override: true
|
override: true
|
||||||
- uses: katyo/publish-crates@v2
|
- uses: katyo/publish-crates@v2
|
||||||
with:
|
with:
|
||||||
path: './cln-rpc'
|
|
||||||
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||||
ignore-unpublished-changes: true
|
ignore-unpublished-changes: true
|
||||||
- uses: katyo/publish-crates@v2
|
publish-delay: 5000
|
||||||
with:
|
|
||||||
path: './plugins'
|
|
||||||
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
|
||||||
ignore-unpublished-changes: true
|
|
||||||
- uses: katyo/publish-crates@v2
|
|
||||||
with:
|
|
||||||
path: './cln-grpc'
|
|
||||||
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
|
||||||
ignore-unpublished-changes: true
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue