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

Commit 34a0bb8

Browse files
committed
testing asset upload
1 parent 8eff45a commit 34a0bb8

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/goreleaser.yaml

+5-10
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,8 @@ jobs:
4545
args: release --clean
4646
env:
4747
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
48-
- name: Upload Release Asset
49-
id: upload-release-asset
50-
uses: actions/upload-release-asset@v1
51-
env:
52-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
53-
with:
54-
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
55-
asset_path: ./templates/argohubmgmtclusterManifest.yaml
56-
asset_name: argohubmgmtclusterManifest.yaml
57-
asset_content_type: application/yaml
48+
- name: Upload assets
49+
uses: actions/upload-artifact@v3
50+
with:
51+
name: argohubmgmtclusterManifest.yaml
52+
path: templates/*.yaml

0 commit comments

Comments
 (0)