File tree 2 files changed +7
-8
lines changed
2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ name: release
9
9
on :
10
10
push :
11
11
# Enable when testing release infrastructure on a branch.
12
- # branches:
13
- # - ci_testing
12
+ branches :
13
+ - ci_testing
14
14
tags :
15
15
- " [0-9]+.[0-9]+.[0-9]+"
16
16
jobs :
83
83
- name : Install Rust
84
84
uses : actions-rs/toolchain@v1
85
85
with :
86
- toolchain : stable
86
+ toolchain : nightly
87
87
override : true
88
88
target : ${{ matrix.target }}
89
89
93
93
command : build
94
94
args : --release --target ${{ matrix.target }}
95
95
96
- - name : Strip release binary (macos)
97
- if : matrix.os == 'macos'
98
- run : strip "target/${{ matrix.target }}/release/${{ env.PROGRAM_NAME }}"
99
-
100
96
- name : Build archive
101
97
shell : bash
102
98
run : |
Original file line number Diff line number Diff line change
1
+ cargo-features = [" strip" ]
2
+
1
3
[package ]
2
4
name = " smeagol-wiki"
3
5
version = " 0.1.2"
@@ -7,7 +9,8 @@ license = "MIT"
7
9
homepage = " https://github.com/AustinWise/smeagol/"
8
10
repository = " https://github.com/AustinWise/smeagol/"
9
11
10
- # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12
+ [profile .release ]
13
+ strip = " symbols"
11
14
12
15
[dependencies ]
13
16
askama = " 0.11"
You can’t perform that action at this time.
0 commit comments