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