File tree Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Expand file tree Collapse file tree 3 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ concurrency: builds_txt
17
17
18
18
jobs :
19
19
release_pre_built :
20
+ permissions :
21
+ id-token : write
22
+ attestations : write
20
23
strategy :
21
24
fail-fast : true
22
25
max-parallel : 1
42
45
otp_version : ${{ matrix.otp_version }}
43
46
otp : ${{ matrix.otp }}
44
47
build_docs : ${{ matrix.build_docs }}
48
+ - uses : actions/attest-build-provenance@v1
49
+ with :
50
+ subject-path : ' elixir-otp-${{ matrix.otp }}.*'
51
+ - uses : actions/attest-build-provenance@v1
52
+ if : ${{ matrix.build_docs }}
53
+ with :
54
+ subject-path : ' Docs.*'
45
55
- name : Utils.sh
46
56
run : |
47
57
cat << 'EOF' > utils.sh
Original file line number Diff line number Diff line change 12
12
13
13
permissions :
14
14
contents : write
15
+ id-token : write
16
+ attestations : write
15
17
16
18
jobs :
17
19
create_draft_release :
50
52
otp_version : ${{ matrix.otp_version }}
51
53
otp : ${{ matrix.otp }}
52
54
build_docs : ${{ matrix.build_docs }}
55
+ - uses : actions/attest-build-provenance@v1
56
+ env :
57
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
+ with :
59
+ subject-path : ' elixir-otp-${{ matrix.otp }}.*'
60
+ - uses : actions/attest-build-provenance@v1
61
+ if : ${{ matrix.build_docs }}
62
+ env :
63
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
64
+ with :
65
+ subject-path : ' Docs.*'
53
66
- name : Upload Pre-built
54
67
env :
55
68
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 46
46
ref=v$(curl -s https://hex.pm/api/packages/ex_doc | jq --raw-output '.latest_stable_version')
47
47
fi
48
48
echo "EX_DOC_REF=$ref" >> $GITHUB_ENV
49
- - uses : actions/checkout@v3
49
+ - uses : actions/checkout@v4
50
50
if : ${{ inputs.build_docs }}
51
51
with :
52
52
repository : elixir-lang/ex_doc
You can’t perform that action at this time.
0 commit comments