File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow that is manually triggered
2
+
3
+ name : Create Release
4
+
5
+ # Controls when the action will run. Workflow runs when manually triggered using the UI
6
+ # or API.
7
+ on : [push]
8
+
9
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
10
+ jobs :
11
+ create_release :
12
+ # The type of runner that the job will run on
13
+ runs-on : ubuntu-latest
14
+ env :
15
+ GH_TOKEN : ${{ github.token }}
16
+ RELEASE : ${{ github.event.inputs.release || github.ref_name }}
17
+
18
+ # Steps represent a sequence of tasks that will be executed as part of the job
19
+ steps :
20
+ - name : Checkout
21
+
22
+ with :
23
+ ref : gh-pages
24
+
25
+ - name : Zip Release
26
+ uses :
TheDoctor0/[email protected]
27
+ with :
28
+ filename : ui-grid-${{ env.RELEASE }}.zip
29
+ path : ./release/${{ env.RELEASE }}/*
30
+
31
+ - name : Publish Release
32
+ run : gh release create v${{ env.RELEASE }} ./ui-grid-${{ env.RELEASE }}.zip
33
+
You can’t perform that action at this time.
0 commit comments