Skip to content

Commit 6f55f84

Browse files
committed
ci: add release workflow
Add a workflow to publish releases. Signed-off-by: David Rheinsberg <[email protected]>
1 parent eb855e8 commit 6f55f84

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/publish.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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@main
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' && true || false }}

0 commit comments

Comments
 (0)