|
|
@ -13,6 +13,9 @@ jobs: |
|
|
|
runs-on: ubuntu-22.04 |
|
|
|
runs-on: ubuntu-22.04 |
|
|
|
permissions: |
|
|
|
permissions: |
|
|
|
contents: write |
|
|
|
contents: write |
|
|
|
|
|
|
|
outputs: |
|
|
|
|
|
|
|
tarSha: ${{steps.hashes.outputs.tarSha}} |
|
|
|
|
|
|
|
zipSha: ${{steps.hashes.outputs.zipSha}} |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: checkout |
|
|
|
- name: checkout |
|
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 |
|
|
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 |
|
|
@ -32,6 +35,8 @@ jobs: |
|
|
|
id: hashes |
|
|
|
id: hashes |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
cd build/distributions |
|
|
|
cd build/distributions |
|
|
|
|
|
|
|
echo "zipSha=$(shasum -a 256 besu*.zip)" |
|
|
|
|
|
|
|
echo "tarSha=$(shasum -a 256 besu*.tar.gz)" |
|
|
|
echo "zipSha=$(shasum -a 256 besu*.zip)" >> $GITHUB_OUTPUT |
|
|
|
echo "zipSha=$(shasum -a 256 besu*.zip)" >> $GITHUB_OUTPUT |
|
|
|
echo "tarSha=$(shasum -a 256 besu*.tar.gz)" >> $GITHUB_OUTPUT |
|
|
|
echo "tarSha=$(shasum -a 256 besu*.tar.gz)" >> $GITHUB_OUTPUT |
|
|
|
- name: upload tarball |
|
|
|
- name: upload tarball |
|
|
@ -73,7 +78,7 @@ jobs: |
|
|
|
besu\bin\besu.bat --version |
|
|
|
besu\bin\besu.bat --version |
|
|
|
publish: |
|
|
|
publish: |
|
|
|
runs-on: ubuntu-22.04 |
|
|
|
runs-on: ubuntu-22.04 |
|
|
|
needs: testWindows |
|
|
|
needs: [artifacts, testWindows] |
|
|
|
permissions: |
|
|
|
permissions: |
|
|
|
contents: write |
|
|
|
contents: write |
|
|
|
steps: |
|
|
|
steps: |
|
|
@ -91,8 +96,8 @@ jobs: |
|
|
|
build/distributions/besu*.tar.gz |
|
|
|
build/distributions/besu*.tar.gz |
|
|
|
build/distributions/besu*.zip |
|
|
|
build/distributions/besu*.zip |
|
|
|
body: | |
|
|
|
body: | |
|
|
|
${{steps.hashes.outputs.tarSha}} |
|
|
|
${{needs.artifacts.outputs.tarSha}} |
|
|
|
${{steps.hashes.outputs.zipSha}} |
|
|
|
${{needs.artifacts.outputs.zipSha}} |
|
|
|
artifactoryPublish: |
|
|
|
artifactoryPublish: |
|
|
|
runs-on: ubuntu-22.04 |
|
|
|
runs-on: ubuntu-22.04 |
|
|
|
needs: artifacts |
|
|
|
needs: artifacts |
|
|
|