From f54a0366abfba26c7694fad1e14350d19aa0a228 Mon Sep 17 00:00:00 2001 From: tersec Date: Mon, 30 Sep 2024 11:36:15 +0000 Subject: [PATCH] use separate upload/download names for v4 migration --- .github/workflows/release.yml | 63 +++++++++++++++++++++++++---------- 1 file changed, 45 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 050912e91..bf4dc5685 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,18 +35,21 @@ jobs: name: Linux_amd64_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload BN checksum artefact uses: actions/upload-artifact@v4 with: - name: Linux_amd64_checksum + name: Linux_amd64_checksum_bn path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload VC checksum artefact uses: actions/upload-artifact@v4 with: - name: Linux_amd64_checksum + name: Linux_amd64_checksum_vc path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Login to Docker Hub uses: docker/login-action@v1 with: @@ -83,6 +86,7 @@ jobs: ./dist/*.deb ./dist/*.rpm retention-days: 2 + overwrite: true # TODO remove after initial working upload build-arm64: name: Linux ARM64 release asset runs-on: ubuntu-latest @@ -112,18 +116,21 @@ jobs: name: Linux_arm64_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload BN checksum artefact uses: actions/upload-artifact@v4 with: - name: Linux_arm64_checksum + name: Linux_arm64_checksum_bn path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload VC checksum artefact uses: actions/upload-artifact@v4 with: - name: Linux_arm64_checksum + name: Linux_arm64_checksum_vc path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Login to Docker Hub uses: docker/login-action@v1 with: @@ -162,6 +169,7 @@ jobs: ./dist/*.deb ./dist/*.rpm retention-days: 2 + overwrite: true # TODO remove after initial working upload build-arm: name: Linux ARM release asset runs-on: ubuntu-latest @@ -191,23 +199,26 @@ jobs: name: Linux_arm_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload BN checksum artefact uses: actions/upload-artifact@v4 with: - name: Linux_arm_checksum + name: Linux_arm_checksum_bn path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum retention-days: 2 - name: Upload VC checksum artefact uses: actions/upload-artifact@v4 with: - name: Linux_arm_checksum + name: Linux_arm_checksum_vc path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Login to Docker Hub uses: docker/login-action@v1 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + overwrite: true # TODO remove after initial working upload - name: Build and push a Docker images for end users run: | cd dist @@ -241,6 +252,7 @@ jobs: ./dist/*.deb ./dist/*.rpm retention-days: 2 + overwrite: true # TODO remove after initial working upload build-win64: name: Windows AMD64 release asset runs-on: ubuntu-latest @@ -263,18 +275,21 @@ jobs: name: Windows_amd64_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload BN checksum artefact uses: actions/upload-artifact@v4 with: - name: Windows_amd64_checksum + name: Windows_amd64_checksum_bn path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload VC checksum artefact uses: actions/upload-artifact@v4 with: - name: Windows_amd64_checksum + name: Windows_amd64_checksum_vc path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload build-macos-amd64: name: macOS AMD64 release asset runs-on: ubuntu-latest @@ -297,18 +312,21 @@ jobs: name: macOS_amd64_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload BN checksum artefact uses: actions/upload-artifact@v4 with: - name: macOS_amd64_checksum + name: macOS_amd64_checksum_bn path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload VC checksum artefact uses: actions/upload-artifact@v4 with: - name: macOS_amd64_checksum + name: macOS_amd64_checksum_vc path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload build-macos-arm64: name: macOS ARM64 release asset runs-on: ubuntu-latest @@ -331,18 +349,21 @@ jobs: name: macOS_arm64_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload BN checksum artefact uses: actions/upload-artifact@v4 with: - name: macOS_arm64_checksum + name: macOS_arm64_checksum_bn path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_beacon_node.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload - name: Upload VC checksum artefact uses: actions/upload-artifact@v4 with: - name: macOS_arm64_checksum + name: macOS_arm64_checksum_vc path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus_validator_client.sha512sum retention-days: 2 + overwrite: true # TODO remove after initial working upload prepare-release: name: Prepare release draft needs: [build-amd64, build-arm64, build-arm, build-win64, build-macos-amd64, build-macos-arm64] @@ -368,17 +389,23 @@ jobs: \`\`\`text EOF 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 - 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 - 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 - 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 - 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 - 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 - name: Create release id: create_release