Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
testing asset upload
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickLaabs committed Mar 2, 2024
1 parent 8eff45a commit 34a0bb8
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,8 @@ jobs:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./templates/argohubmgmtclusterManifest.yaml
asset_name: argohubmgmtclusterManifest.yaml
asset_content_type: application/yaml
- name: Upload assets
uses: actions/upload-artifact@v3
with:
name: argohubmgmtclusterManifest.yaml
path: templates/*.yaml

0 comments on commit 34a0bb8

Please sign in to comment.