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 11name : Publish Package
22description : ' Publish the package to crates.io'
33inputs :
4- token :
5- description : ' Token to use for publishing.'
6- required : true
74 dry_run :
85 description : ' Is this a dry run. If so no package will be published.'
96 required : true
1411 - name : Publish Library
1512 shell : bash
1613 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 3333
3434 - uses : ./.github/actions/publish
3535 with :
36- token : ${{env.CARGO_REGISTRY_TOKEN}}
3736 dry_run : ${{ inputs.dry_run }}
Original file line number Diff line number Diff line change 4747 - uses : ./.github/actions/publish
4848 if : ${{ steps.release.outputs.releases_created }}
4949 with :
50- token : ${{env.CARGO_REGISTRY_TOKEN}}
5150 dry_run : false
You can’t perform that action at this time.
0 commit comments