We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9660787 commit 43ca581Copy full SHA for 43ca581
.github/workflows/cd.yml
@@ -1,17 +1,23 @@
1
name: Publish to Pub.dev & Github
2
on:
3
+ workflow_dispatch:
4
pull_request:
5
types:
6
- closed
7
branches:
8
- main
9
- rel/**
10
11
+permissions:
12
+ id-token: write # Required for authentication using OIDC
13
+ contents: write
14
+
15
jobs:
16
publish:
17
if: |
- github.event.pull_request.merged == true &&
- contains(github.event.pull_request.title, 'chore: Release')
18
+ github.event_name == 'workflow_dispatch' ||
19
+ (github.event.pull_request.merged == true &&
20
+ contains(github.event.pull_request.title, 'chore: Release'))
21
runs-on: ubuntu-latest
22
outputs:
23
version: ${{ steps.version.outputs.version }}
0 commit comments