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
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
45
-
asset_path: ./extension.zip
46
-
asset_name: chrome-extension.zip
47
-
asset_content_type: application/zip
28
+
- name: Create Release
29
+
id: create_release
30
+
uses: actions/create-release@v1
31
+
env:
32
+
GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }}
33
+
with:
34
+
tag_name: ${{ github.ref }}
35
+
release_name: Release ${{ github.ref }}
36
+
draft: false
37
+
prerelease: false
38
+
- name: Upload Release Asset
39
+
id: upload-release-asset
40
+
uses: actions/upload-release-asset@v1
41
+
env:
42
+
GITHUB_TOKEN: ${{ secrets.GH_ACTION_TOKEN }}
43
+
with:
44
+
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