Skip to content

Commit 55cdb23

Browse files
committed
Attempt to fix permissions and gradle issue for publish and publishArtifactory
Relates to changes from #6705 and 5ea9cd6 Signed-off-by: Simon Dudley <[email protected]>
1 parent a3dc907 commit 55cdb23

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/artifacts.yml

+11
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ jobs:
7474
publish:
7575
runs-on: ubuntu-22.04
7676
needs: testWindows
77+
permissions:
78+
contents: write
7779
steps:
7880
- name: Download archives
7981
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
@@ -95,6 +97,15 @@ jobs:
9597
runs-on: ubuntu-22.04
9698
needs: artifacts
9799
steps:
100+
- name: Set up JDK 17
101+
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
102+
with:
103+
distribution: 'temurin'
104+
java-version: '17'
105+
- name: setup gradle
106+
uses: gradle/actions/setup-gradle@9e899d11ad247ec76be7a60bc1cf9d3abbb9e7f1
107+
with:
108+
cache-disabled: true
98109
- name: Artifactory Publish
99110
env:
100111
ARTIFACTORY_USER: ${{ secrets.BESU_ARTIFACTORY_USER }}

0 commit comments

Comments
 (0)