forked from eclipse-zenoh/ci
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (58 loc) · 1.46 KB
/
release-crates-cargo.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Release crates (Cargo)
on:
workflow_call:
inputs:
repo:
type: string
required: true
live-run:
type: string
required: true
branch:
type: string
required: true
unpublished-deps-patterns:
type: string
required: false
unpublished-deps-repos:
type: string
required: false
publication-test:
type: boolean
required: false
default: true
workflow_dispatch:
inputs:
repo:
type: string
required: true
live-run:
type: string
required: true
branch:
type: string
required: true
unpublished-deps-patterns:
type: string
required: false
unpublished-deps-repos:
type: string
required: false
publication-test:
type: boolean
required: false
default: true
jobs:
publish:
runs-on: macos-latest
steps:
- uses: eclipse-zenoh/ci/publish-crates-cargo@main
with:
repo: ${{ inputs.repo }}
live-run: ${{ inputs.live-run }}
branch: ${{ inputs.branch }}
unpublished-deps-patterns: ${{ inputs.unpublished-deps-patterns }}
unpublished-deps-repos: ${{ inputs.unpublished-deps-repos }}
github-token: ${{ secrets.BOT_TOKEN_WORKFLOW }}
crates-io-token: ${{ secrets.CRATES_IO_TOKEN }}
publication-test: ${{ inputs.publication-test }}