Skip to content

Commit

Permalink
Update release process to upload all assests
Browse files Browse the repository at this point in the history
Signed-off-by: Rahul Jain <rahulj@vmware.com>
  • Loading branch information
reachjainrahul committed Mar 17, 2023
1 parent 4012641 commit 7fb9cae
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions .github/workflows/process_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,12 @@ jobs:
run: |
mkdir assets
VERSION="${TAG:10}" ./hack/release/prepare-assets.sh ./assets
- name: Upload nephe.yml
uses: actions/upload-release-asset@v1
- name: Upload all assets
uses: alexellis/upload-assets@0.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./assets/nephe.yml
asset_name: nephe.yml
asset_content_type: application/octet-stream
- name: Upload install-vm-agent-wrapper.sh
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./assets/install-vm-agent-wrapper.sh
asset_name: install-vm-agent-wrapper.sh
asset_content_type: application/octet-stream
- name: Upload install-vm-agent-wrapper.ps1
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./assets/install-vm-agent-wrapper.ps1
asset_name: install-vm-agent-wrapper.ps1
asset_content_type: application/octet-stream
asset_paths: '["./assets/*"]'

update-website:
name: Trigger website update for release
Expand Down

0 comments on commit 7fb9cae

Please sign in to comment.