Skip to content

Commit

Permalink
use separate upload/download names for v4 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec committed Sep 30, 2024
1 parent 7a91815 commit f54a036
Showing 1 changed file with 45 additions and 18 deletions.
63 changes: 45 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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]
Expand All @@ -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
Expand Down

0 comments on commit f54a036

Please sign in to comment.