Skip to content

Commit 8b220c6

Browse files
authored
ci: Remove unnecessary token parameter (#66)
1 parent 3c0d03f commit 8b220c6

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

.github/actions/publish/action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Publish Package
22
description: 'Publish the package to crates.io'
33
inputs:
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
@@ -14,4 +11,4 @@ runs:
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

.github/workflows/manual-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,4 @@ jobs:
3333

3434
- uses: ./.github/actions/publish
3535
with:
36-
token: ${{env.CARGO_REGISTRY_TOKEN}}
3736
dry_run: ${{ inputs.dry_run }}

.github/workflows/release-please.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,4 @@ jobs:
4747
- uses: ./.github/actions/publish
4848
if: ${{ steps.release.outputs.releases_created }}
4949
with:
50-
token: ${{env.CARGO_REGISTRY_TOKEN}}
5150
dry_run: false

0 commit comments

Comments
 (0)