File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Integration tests
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+
9
+ jobs :
10
+ test-github-action :
11
+ runs-on : ubuntu-latest
12
+ permissions :
13
+ id-token : write # to sign the provenance
14
+ attestations : write # to persist the attestation files
15
+ steps :
16
+ - name : Create artifacts
17
+ run : mkdir dist && echo "a" > dist/artifact1.txt && echo "b" > dist/artifact2.txt
18
+ - name : Create provenances
19
+ id : create-provenances
20
+ uses : actions/attest-build-provenance@v1
21
+ with :
22
+ subject-path : ' dist/*'
23
+ - name : Convert provenances
24
+ uses : trailofbits/gh-action-adapt-sigstore-pypi@main
25
+ with :
26
+ bundles : ${{ steps.create-provenances.outputs.bundle-path }}
27
+ output-dir : dist/
28
+ - name : Check action result
29
+ run : ls dist
30
+
You can’t perform that action at this time.
0 commit comments