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
Copy file name to clipboardExpand all lines: .github/workflows/build.yaml
+24-17Lines changed: 24 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -22,22 +22,29 @@ jobs:
22
22
- run: npm install
23
23
- run: npm run build
24
24
25
-
# - name: Create Release
26
-
# uses: rymndhng/release-on-push-action@master
27
-
# with:
28
-
# bump_version_scheme: minor
29
-
# use-github-release-notes: true
30
-
# env:
31
-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25
+
- name: Create Release
26
+
uses: rymndhng/release-on-push-action@master
27
+
with:
28
+
bump_version_scheme: minor
29
+
use-github-release-notes: true
30
+
env:
31
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
+
33
+
- name: Tar build
34
+
run: tar cvfz build.tar.gz ./dist
35
+
36
+
- name: Upload Build Asset
37
+
uses: actions/upload-release-asset@v1
38
+
env:
39
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40
+
with:
41
+
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