File tree 2 files changed +28
-7
lines changed
2 files changed +28
-7
lines changed Original file line number Diff line number Diff line change 8
8
# Release Candidates
9
9
- ' [0-9]+.[0-9]+.[0-9]+-rc[0-9]+'
10
10
11
+ permissions :
12
+ contents : write
13
+ id-token : write
14
+ pull-requests : write
15
+
11
16
jobs :
17
+ create-sbom-release-asset :
18
+ name : Create SBOM Release Asset
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : actions/checkout@v4
22
+ - name : Publish SBOM to Release Assets
23
+ uses : anchore/sbom-action@v0
24
+ with :
25
+ path : ./
26
+ format : cyclonedx-json
12
27
publish :
13
- permissions :
14
- id-token : write # Required for authentication using OIDC
15
- uses : dart-lang/setup-dart/.github/workflows/publish.yml@v1
28
+ name : Publish to pub.dev
29
+ runs-on : ubuntu-latest
30
+ steps :
31
+ - uses : actions/checkout@v4
32
+ - uses : dart-lang/setup-dart@v1
33
+ with :
34
+ sdk : stable
35
+ - name : Install dependencies
36
+ run : dart pub get
37
+ - name : Publish - dry run
38
+ run : dart pub publish --dry-run --skip-validation
39
+ - name : Publish
40
+ run : dart pub publish -f
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments