File tree 3 files changed +25
-1
lines changed
3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 55
55
}
56
56
EOF
57
57
cd dart-sdk/sdk
58
- ./tools/sdks/dart-sdk/bin/dart run /tmp/version.dart | tee -a $GITHUB_OUTPUT
58
+ ./tools/sdks/dart-sdk/bin/dart run /tmp/version.dart | tee -a " $GITHUB_OUTPUT"
59
59
60
60
- name : Fetch Checked-in Dart SDK
61
61
run : |
89
89
90
90
runs-on : ubuntu-latest
91
91
92
+ permissions :
93
+ id-token : write
94
+ attestations : write
95
+
92
96
container :
93
97
image : docker.io/library/alpine
94
98
@@ -151,6 +155,11 @@ jobs:
151
155
run : |
152
156
tar -czf dartsdk-linux-${{ matrix.target-arch }}-release.tar.gz -C dart-sdk/sdk/out/Release* -- dart-sdk
153
157
158
+ - name : Generate artifact attestation
159
+ uses : actions/attest-build-provenance@v2
160
+ with :
161
+ subject-path : dartsdk-linux-${{ matrix.target-arch }}-release.tar.gz
162
+
154
163
- name : Upload Artifact
155
164
uses : actions/upload-artifact@v4
156
165
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