File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 62
62
63
63
runs-on : ubuntu-latest
64
64
65
+ permissions :
66
+ id-token : write
67
+ attestations : write
68
+
65
69
container :
66
70
image : docker.io/library/debian
67
71
@@ -119,6 +123,11 @@ jobs:
119
123
run : |
120
124
tar -czf dartsdk-android-${{ matrix.target-arch }}-release.tar.gz -C dart-sdk/sdk/out/Release* -- dart-sdk
121
125
126
+ - name : Generate artifact attestation
127
+ uses : actions/attest-build-provenance@v2
128
+ with :
129
+ subject-path : dartsdk-android-${{ matrix.target-arch }}-release.tar.gz
130
+
122
131
- name : Upload Artifact
123
132
uses : actions/upload-artifact@v4
124
133
with :
Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
build :
10
+ permissions :
11
+ id-token : write
12
+ attestations : write
10
13
uses : ./.github/workflows/build.yml
11
14
with :
12
15
ref : ${{ github.ref_name }}
Original file line number Diff line number Diff line change 58
58
stable :
59
59
needs : [latest]
60
60
if : needs.latest.outputs.stable-cache-hit != 'true'
61
+ permissions :
62
+ id-token : write
63
+ attestations : write
61
64
uses : ./.github/workflows/build.yml
62
65
with :
63
66
ref : ${{ needs.latest.outputs.stable-version }}
66
69
beta :
67
70
needs : [latest]
68
71
if : needs.latest.outputs.beta-cache-hit != 'true' && needs.latest.outputs.beta-version != needs.latest.outputs.stable-version
72
+ permissions :
73
+ id-token : write
74
+ attestations : write
69
75
uses : ./.github/workflows/build.yml
70
76
with :
71
77
ref : ${{ needs.latest.outputs.beta-version }}
@@ -74,13 +80,19 @@ jobs:
74
80
dev :
75
81
needs : [latest]
76
82
if : needs.latest.outputs.dev-cache-hit != 'true' && needs.latest.outputs.dev-version != needs.latest.outputs.beta-version && needs.latest.outputs.dev-version != needs.latest.outputs.stable-version
83
+ permissions :
84
+ id-token : write
85
+ attestations : write
77
86
uses : ./.github/workflows/build.yml
78
87
with :
79
88
ref : ${{ needs.latest.outputs.dev-version }}
80
89
secrets : inherit
81
90
82
91
edge :
83
92
needs : [latest]
93
+ permissions :
94
+ id-token : write
95
+ attestations : write
84
96
uses : ./.github/workflows/build.yml
85
97
with :
86
98
ref : ${{ needs.latest.outputs.edge-version }}
You can’t perform that action at this time.
0 commit comments