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
- run: echo "Release date is ${{ env.RELEASE_DATE }}"
29
+
30
+
- name: Create Release
31
+
id: create_release
32
+
uses: actions/create-release@v1
33
+
env:
34
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
35
+
with:
36
+
tag_name: ${{ env.RELEASE_TAG }}
37
+
release_name: Release ${{ env.RELEASE_DATE }}
38
+
body: |
39
+
Automatically created on LATER
40
+
draft: false
41
+
prerelease: false
42
+
43
+
- name: Upload .zip
44
+
id: upload-zip
45
+
uses: actions/upload-release-asset@v1.0.1
46
+
env:
47
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48
+
with:
49
+
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
50
+
asset_path: ./tmp/download.zip
51
+
asset_name: download.zip
52
+
asset_content_type: application/zip
53
+
54
+
- name: Upload .tar.gz
55
+
id: upload-tar-gz
56
+
uses: actions/upload-release-asset@v1.0.1
57
+
env:
58
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59
+
with:
60
+
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