You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: zip artifact # This would actually build your project, using zip for an example artifact
51
+
run: |
52
+
zip -r configurationmigrationtool${{ github.ref }}.zip configurationmigrationtool
53
+
- name: Create Release
54
+
id: create_release
55
+
uses: actions/create-release@v1
56
+
env:
57
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58
+
with:
59
+
tag_name: ${{ github.ref }}
60
+
release_name: Release ${{ github.ref }}
61
+
draft: false
62
+
prerelease: false
63
+
- name: Upload Release Asset
64
+
id: upload-release-asset
65
+
uses: actions/upload-release-asset@v1
66
+
env:
67
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68
+
with:
69
+
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
0 commit comments