We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3adc068 + db7510b commit 4844abaCopy full SHA for 4844aba
1 file changed
.github/workflows/publish.yml
@@ -5,14 +5,14 @@ on:
5
push:
6
tags:
7
- 'v[0-9]+.[0-9]+.[0-9]+' # tag pattern on pub.dev: 'v{{version}'
8
- release:
9
- types: [ created ]
10
-
+ workflow_dispatch: # Allow manual trigger
11
# Publish using custom workflow
12
jobs:
13
publish:
14
permissions:
15
- id-token: write # Required for authentication using OIDC
+ id-token: write # Required for OIDC authentication
+ name: 'Publish to pub.dev'
+ environment: 'pub.dev'
16
runs-on: ubuntu-latest
17
steps:
18
- uses: actions/checkout@v4
0 commit comments