File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Compress
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ - ' 0\.*\.*'
8
+ pull_request :
9
+ branches :
10
+ - main
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+
19
+ - name : " Compress Source Code"
20
+ if : true
21
+ uses : master-atul/tar-action@v1.0.2
22
+ with :
23
+ command : c
24
+ cwd : " ./"
25
+ files : " three_body_e2021"
26
+ outPath : " ${{ runner.temp }}/3body-lang-${{ steps.vars.outputs.sha_short }}.tar.gz"
27
+
28
+ - name : " Release Source Code"
29
+ uses : pragmatrix/release-action@exp
30
+ with :
31
+ owner : rustq
32
+ repo : 3body-lang
33
+ tag : ${{ env.RELEASE_VERSION }}
34
+ allowUpdates : true
35
+ replacesArtifacts : true
36
+ artifacts : " ${{ runner.temp }}/3body-lang-${{ steps.vars.outputs.sha_short }}.tar.gz"
37
+ artifactErrorsFailBuild : true
38
+ token : ${{ secrets.GITHUB_TOKEN }}
39
+ prerelease : true
You can’t perform that action at this time.
0 commit comments