mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-09 21:17:54 -05:00
Fix permissions publish and gradle issue for publishArtifactory (#6930)
Signed-off-by: Simon Dudley <simon.dudley@consensys.net> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
This commit is contained in:
15
.github/workflows/artifacts.yml
vendored
15
.github/workflows/artifacts.yml
vendored
@@ -74,6 +74,8 @@ jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-22.04
|
||||
needs: testWindows
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Download archives
|
||||
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
|
||||
@@ -91,10 +93,21 @@ jobs:
|
||||
body: |
|
||||
${{steps.hashes.outputs.tarSha}}
|
||||
${{steps.hashes.outputs.zipSha}}
|
||||
arifactoryPublish:
|
||||
artifactoryPublish:
|
||||
runs-on: ubuntu-22.04
|
||||
needs: artifacts
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
java-version: '17'
|
||||
- name: setup gradle
|
||||
uses: gradle/actions/setup-gradle@9e899d11ad247ec76be7a60bc1cf9d3abbb9e7f1
|
||||
with:
|
||||
cache-disabled: true
|
||||
- name: Artifactory Publish
|
||||
env:
|
||||
ARTIFACTORY_USER: ${{ secrets.BESU_ARTIFACTORY_USER }}
|
||||
|
||||
Reference in New Issue
Block a user