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
zip -r hxcpp-${{ env.hxcpp_release }}.zip hxcpp-${{ env.hxcpp_release }}
127
133
128
134
- name: Create Release
129
-
id: create_release
130
-
uses: actions/create-release@v1
131
-
env:
132
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
135
+
uses: ncipollo/release-action@v1
133
136
with:
134
-
tag_name: v${{ env.hxcpp_release }}
135
-
release_name: Release ${{ env.hxcpp_release }}
137
+
tag: v${{ env.hxcpp_release }}
138
+
commit: ${{ github.head_ref }}
139
+
name: Release ${{ env.hxcpp_release }}
136
140
draft: false
137
141
prerelease: false
138
-
139
-
- name: Upload Release Asset
140
-
id: upload-release-asset
141
-
uses: actions/upload-release-asset@v1
142
-
env:
143
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
144
-
with:
145
-
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