We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afcab27 commit 21a1237Copy full SHA for 21a1237
.github/workflows/dist-release.yml
@@ -1,4 +1,4 @@
1
-name: Build Deploy
+name: Build Release
2
3
# 在main分支发生push事件时触发。
4
on:
@@ -27,14 +27,16 @@ jobs:
27
- run: |
28
yarn
29
yarn build
30
+ - run: |
31
+ mkdir rstmp
32
+ mv README.MD LICENSE rstmp
33
+ mv docs/.vuepress/dist rstmp
34
+ tar zcvf learn-github-${{ env.GITHUB_REF_NAME }}.tar.gz rstmp
35
36
- name: Upload release package
37
uses: softprops/action-gh-release@v1
38
with:
- name: "learn-github-${{ env.GITHUB_REF_NAME }}"
39
+ # name: "learn-github-${{ env.GITHUB_REF_NAME }}"
40
# body: ${{ steps.release.outputs.name }}
41
generate_release_notes: false
- files: |
- docs/.vuepress/dist/*
- README.MD
- LICENSE
42
+ files: learn-github-${{ env.GITHUB_REF_NAME }}.tar.gz
0 commit comments