Skip to content

Commit

Permalink
separate upload-checksums into separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
aneesh1 committed Sep 20, 2024
1 parent 5d5ef05 commit e787af6
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/dd-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,21 +92,6 @@ jobs:
release_name: ${{ steps.extract_tags.outputs.tags }}
draft: false
prerelease: false
- uses: actions/download-artifact@v4
with:
name: etcd_output_checksums
path: _output/checksums
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload checksums
id: upload-checksums
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: ./_output/checksums/SHA256SUMS
asset_name: SHA256SUMS
asset_content_type: text/plain
releaseassetsarm:
runs-on: ubuntu-latest
needs: release
Expand Down Expand Up @@ -137,3 +122,21 @@ jobs:
asset_path: ./_output/release-tars/etcd-${{ env.RELEASE_VERSION }}-${{ matrix.platform }}.${{ matrix.extension }}
asset_name: etcd-${{ env.RELEASE_VERSION }}-${{ matrix.platform }}.${{ matrix.extension }}
asset_content_type: application/tar+gzip
addchecksum:
runs-on: ubuntu-latest
needs: release
- uses: actions/download-artifact@v4
with:
name: etcd_output_checksums
path: _output/checksums
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload checksums
id: upload-checksums
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: ./_output/checksums/SHA256SUMS
asset_name: SHA256SUMS
asset_content_type: text/plain

0 comments on commit e787af6

Please sign in to comment.