File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Publish Package
2
2
description : ' Publish the package to crates.io'
3
3
inputs :
4
- token :
5
- description : ' Token to use for publishing.'
6
- required : true
7
4
dry_run :
8
5
description : ' Is this a dry run. If so no package will be published.'
9
6
required : true
14
11
- name : Publish Library
15
12
shell : bash
16
13
if : ${{ inputs.dry_run == 'false' }}
17
- run : CARGO_REGISTRY_TOKEN="${{inputs.token}}" cargo publish -p eventsource-client
14
+ run : cargo publish -p eventsource-client
Original file line number Diff line number Diff line change 33
33
34
34
- uses : ./.github/actions/publish
35
35
with :
36
- token : ${{env.CARGO_REGISTRY_TOKEN}}
37
36
dry_run : ${{ inputs.dry_run }}
Original file line number Diff line number Diff line change 47
47
- uses : ./.github/actions/publish
48
48
if : ${{ steps.release.outputs.releases_created }}
49
49
with :
50
- token : ${{env.CARGO_REGISTRY_TOKEN}}
51
50
dry_run : false
You can’t perform that action at this time.
0 commit comments