| 1 |
# |
| 2 |
# Publish Releases |
| 3 |
# |
| 4 |
# This workflow can be manually triggered and will then publish the |
| 5 |
# specified release to the configured release channels. |
| 6 |
# |
| 7 |
|
| 8 |
name: "Publish Releases" |
| 9 |
|
| 10 |
on: |
| 11 |
workflow_dispatch: |
| 12 |
inputs: |
| 13 |
tag: |
| 14 |
description: "Git-Tag to Publish" |
| 15 |
default: "" |
| 16 |
required: true |
| 17 |
verify: |
| 18 |
description: "Verify package before publishing" |
| 19 |
default: "yes" |
| 20 |
required: false |
| 21 |
|
| 22 |
defaults: |
| 23 |
run: |
| 24 |
shell: "bash" |
| 25 |
|
| 26 |
jobs: |
| 27 |
publish: |
| 28 |
name: "Publish Crate" |
| 29 |
uses: readaheadeu/rae-actions/.github/workflows/lib-publish-rust.yml@v1 |
| 30 |
|
| 31 |
permissions: |
| 32 |
contents: write |
| 33 |
|
| 34 |
secrets: |
| 35 |
ciotoken: ${{ secrets.DEPLOY_CRATESIO_TOKEN }} |
| 36 |
|
| 37 |
with: |
| 38 |
tag: ${{ github.event.inputs.tag }} |
| 39 |
verify: ${{ github.event.inputs.verify == 'yes' || false }} |