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
# TODO: upload-artifact@v2 (in-progress) will support file glob
82
82
- name: Upload Artifacts (ubuntu)
83
83
if: matrix.os == 'ubuntu-latest'
84
84
uses: actions/upload-artifact@master
@@ -104,18 +104,8 @@ jobs:
104
104
needs: build
105
105
runs-on: ubuntu-latest
106
106
steps:
107
-
- name: Create Release
108
-
if: startsWith(github.ref, 'refs/tags/')
109
-
id: create_release
110
-
uses: actions/create-release@v1
111
-
env:
112
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113
-
with:
114
-
tag_name: ${{ github.ref }}
115
-
release_name: Release ${{ github.ref }}
116
-
draft: false
117
-
prerelease: false
118
-
107
+
108
+
# TODO: download-artifact@v2 will support multiple download
119
109
- name: Download Artifact (ubuntu)
120
110
if: startsWith(github.ref, 'refs/tags/')
121
111
uses: actions/download-artifact@v1
@@ -134,35 +124,19 @@ jobs:
134
124
with:
135
125
name: pkg-macOS-latest
136
126
137
-
- name: Upload Release Asset (ubuntu)
138
-
if: startsWith(github.ref, 'refs/tags/')
139
-
uses: actions/upload-release-asset@v1
140
-
env:
141
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
142
-
with:
143
-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing its 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