Commit 74a8fc0 1 parent ee6fc7e commit 74a8fc0 Copy full SHA for 74a8fc0
File tree 2 files changed +15
-0
lines changed
2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 15
15
Prerelease :
16
16
if : github.repository == 'official-stockfish/Stockfish' && (github.ref == 'refs/heads/master' || (startsWith(github.ref_name, 'sf_') && github.ref_type == 'tag'))
17
17
runs-on : ubuntu-latest
18
+ permissions :
19
+ contents : write # For deleting/creating a prerelease
18
20
steps :
19
21
- uses : actions/checkout@v4
20
22
with :
@@ -104,9 +106,17 @@ jobs:
104
106
uses : ./.github/workflows/upload_binaries.yml
105
107
with :
106
108
matrix : ${{ needs.Matrix.outputs.matrix }}
109
+ permissions :
110
+ contents : write # For deleting/creating a (pre)release
111
+ secrets :
112
+ token : ${{ secrets.GITHUB_TOKEN }}
107
113
ARM_Binaries :
108
114
if : github.repository == 'official-stockfish/Stockfish'
109
115
needs : [Matrix, Prerelease, ARMCompilation]
110
116
uses : ./.github/workflows/upload_binaries.yml
111
117
with :
112
118
matrix : ${{ needs.Matrix.outputs.arm_matrix }}
119
+ permissions :
120
+ contents : write # For deleting/creating a (pre)release
121
+ secrets :
122
+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 5
5
matrix :
6
6
type : string
7
7
required : true
8
+ secrets :
9
+ token :
10
+ required : true
8
11
9
12
jobs :
10
13
Artifacts :
80
83
uses : softprops/action-gh-release@4634c16e79c963813287e889244c50009e7f0981
81
84
with :
82
85
files : stockfish-${{ matrix.config.simple_name }}-${{ matrix.binaries }}.${{ matrix.config.archive_ext }}
86
+ token : ${{ secrets.token }}
83
87
84
88
- name : Get last commit sha
85
89
id : last_commit
@@ -106,3 +110,4 @@ jobs:
106
110
tag_name : stockfish-dev-${{ env.COMMIT_DATE }}-${{ env.COMMIT_SHA }}
107
111
prerelease : true
108
112
files : stockfish-${{ matrix.config.simple_name }}-${{ matrix.binaries }}.${{ matrix.config.archive_ext }}
113
+ token : ${{ secrets.token }}
You can’t perform that action at this time.
0 commit comments