use separate upload/download names for v4 migration

This commit is contained in:
tersec 2024-09-30 11:36:15 +00:00
parent 7a91815014
commit f54a0366ab
No known key found for this signature in database
GPG Key ID: 3D7A11A0156519DC
1 changed files with 45 additions and 18 deletions

View File

@ -35,18 +35,21 @@ jobs:
name: Linux_amd64_archive name: Linux_amd64_archive
path: ./dist/${{ steps.make_dist.outputs.archive }} path: ./dist/${{ steps.make_dist.outputs.archive }}
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload BN checksum artefact - name: Upload BN checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Linux_amd64_checksum name: Linux_amd64_checksum_bn
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload VC checksum artefact - name: Upload VC checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Linux_amd64_checksum name: Linux_amd64_checksum_vc
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
@ -83,6 +86,7 @@ jobs:
./dist/*.deb ./dist/*.deb
./dist/*.rpm ./dist/*.rpm
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
build-arm64: build-arm64:
name: Linux ARM64 release asset name: Linux ARM64 release asset
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -112,18 +116,21 @@ jobs:
name: Linux_arm64_archive name: Linux_arm64_archive
path: ./dist/${{ steps.make_dist.outputs.archive }} path: ./dist/${{ steps.make_dist.outputs.archive }}
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload BN checksum artefact - name: Upload BN checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Linux_arm64_checksum name: Linux_arm64_checksum_bn
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload VC checksum artefact - name: Upload VC checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Linux_arm64_checksum name: Linux_arm64_checksum_vc
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
@ -162,6 +169,7 @@ jobs:
./dist/*.deb ./dist/*.deb
./dist/*.rpm ./dist/*.rpm
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
build-arm: build-arm:
name: Linux ARM release asset name: Linux ARM release asset
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -191,23 +199,26 @@ jobs:
name: Linux_arm_archive name: Linux_arm_archive
path: ./dist/${{ steps.make_dist.outputs.archive }} path: ./dist/${{ steps.make_dist.outputs.archive }}
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload BN checksum artefact - name: Upload BN checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Linux_arm_checksum name: Linux_arm_checksum_bn
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
retention-days: 2 retention-days: 2
- name: Upload VC checksum artefact - name: Upload VC checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Linux_arm_checksum name: Linux_arm_checksum_vc
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
overwrite: true # TODO remove after initial working upload
- name: Build and push a Docker images for end users - name: Build and push a Docker images for end users
run: | run: |
cd dist cd dist
@ -241,6 +252,7 @@ jobs:
./dist/*.deb ./dist/*.deb
./dist/*.rpm ./dist/*.rpm
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
build-win64: build-win64:
name: Windows AMD64 release asset name: Windows AMD64 release asset
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -263,18 +275,21 @@ jobs:
name: Windows_amd64_archive name: Windows_amd64_archive
path: ./dist/${{ steps.make_dist.outputs.archive }} path: ./dist/${{ steps.make_dist.outputs.archive }}
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload BN checksum artefact - name: Upload BN checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Windows_amd64_checksum name: Windows_amd64_checksum_bn
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload VC checksum artefact - name: Upload VC checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Windows_amd64_checksum name: Windows_amd64_checksum_vc
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
build-macos-amd64: build-macos-amd64:
name: macOS AMD64 release asset name: macOS AMD64 release asset
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -297,18 +312,21 @@ jobs:
name: macOS_amd64_archive name: macOS_amd64_archive
path: ./dist/${{ steps.make_dist.outputs.archive }} path: ./dist/${{ steps.make_dist.outputs.archive }}
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload BN checksum artefact - name: Upload BN checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: macOS_amd64_checksum name: macOS_amd64_checksum_bn
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload VC checksum artefact - name: Upload VC checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: macOS_amd64_checksum name: macOS_amd64_checksum_vc
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
build-macos-arm64: build-macos-arm64:
name: macOS ARM64 release asset name: macOS ARM64 release asset
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -331,18 +349,21 @@ jobs:
name: macOS_arm64_archive name: macOS_arm64_archive
path: ./dist/${{ steps.make_dist.outputs.archive }} path: ./dist/${{ steps.make_dist.outputs.archive }}
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload BN checksum artefact - name: Upload BN checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: macOS_arm64_checksum name: macOS_arm64_checksum_bn
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
- name: Upload VC checksum artefact - name: Upload VC checksum artefact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: macOS_arm64_checksum name: macOS_arm64_checksum_vc
path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum
retention-days: 2 retention-days: 2
overwrite: true # TODO remove after initial working upload
prepare-release: prepare-release:
name: Prepare release draft name: Prepare release draft
needs: [build-amd64, build-arm64, build-arm, build-win64, build-macos-amd64, build-macos-arm64] needs: [build-amd64, build-arm64, build-arm, build-win64, build-macos-amd64, build-macos-arm64]
@ -368,17 +389,23 @@ jobs:
\`\`\`text \`\`\`text
EOF EOF
echo '# Linux AMD64' >> release_notes.md echo '# Linux AMD64' >> release_notes.md
cat Linux_amd64_checksum/* >> release_notes.md cat Linux_amd64_checksum_bn/* >> release_notes.md
cat Linux_amd64_checksum_vc/* >> release_notes.md
echo '# Linux ARM64' >> release_notes.md echo '# Linux ARM64' >> release_notes.md
cat Linux_arm64_checksum/* >> release_notes.md cat Linux_arm64_checksum_bn/* >> release_notes.md
cat Linux_arm64_checksum_vc/* >> release_notes.md
echo '# Linux ARM' >> release_notes.md echo '# Linux ARM' >> release_notes.md
cat Linux_arm_checksum/* >> release_notes.md cat Linux_arm_checksum_bn/* >> release_notes.md
cat Linux_arm_checksum_vc/* >> release_notes.md
echo '# Windows AMD64' >> release_notes.md echo '# Windows AMD64' >> release_notes.md
cat Windows_amd64_checksum/* >> release_notes.md cat Windows_amd64_checksum_bn/* >> release_notes.md
cat Windows_amd64_checksum_vc/* >> release_notes.md
echo '# macOS AMD64' >> release_notes.md echo '# macOS AMD64' >> release_notes.md
cat macOS_amd64_checksum/* >> release_notes.md cat macOS_amd64_checksum_bn/* >> release_notes.md
cat macOS_amd64_checksum_vc/* >> release_notes.md
echo '# macOS ARM64' >> release_notes.md echo '# macOS ARM64' >> release_notes.md
cat macOS_arm64_checksum/* >> release_notes.md cat macOS_arm64_checksum_bn/* >> release_notes.md
cat macOS_arm64_checksum_vc/* >> release_notes.md
echo '```' >> release_notes.md echo '```' >> release_notes.md
- name: Create release - name: Create release
id: create_release id: create_release