File tree Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Expand file tree Collapse file tree 1 file changed +5
-19
lines changed Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
release :
12
- name : release ${{ matrix.target }}
13
- runs-on : ${{ matrix.os }}
12
+ name : release x86_64-unknown-linux-gnu
13
+ runs-on : ubuntu-latest
14
14
environment : release
15
15
16
16
strategy :
17
17
fail-fast : false
18
18
matrix :
19
19
include :
20
- - target : x86_64-pc-windows-gnu
21
- os : windows-latest
22
- extension : " .exe"
23
-
24
20
- target : x86_64-unknown-linux-gnu
25
21
os : ubuntu-latest
26
22
extension : " "
27
23
28
- - target : x86_64-apple-darwin
29
- os : macos-latest
30
- extension : " "
31
-
32
24
- target : aarch64-apple-darwin
33
25
os : macos-latest
34
26
extension : " "
@@ -37,21 +29,15 @@ jobs:
37
29
38
30
- name : Install Rust toolchain
39
31
uses : dtolnay/rust-toolchain@stable
40
- with :
41
- targets : ${{ matrix.target }}
42
-
43
- - name : Install musl for x86_64-unknown-linux-musl
44
- if : ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
45
- run : sudo apt-get install -y musl-dev musl-tools
46
32
47
33
- name : Compile bridge
48
- run : cargo build --target ${{ matrix.target }} -- release --manifest-path bridge/svix-bridge/Cargo.toml
34
+ run : cargo build --release --manifest-path bridge/svix-bridge/Cargo.toml
49
35
50
36
- name : Release
51
37
uses : actions/upload-artifact@v3
52
38
with :
53
- name : svix-bridge-${{ matrix.target }}
54
- path : bridge/target/${{ matrix.target }}/ release/svix-bridge${{ matrix.extension }}
39
+ name : svix-bridge-x86_64-unknown-linux-gnu
40
+ path : bridge/target/release/svix-bridge
55
41
env :
56
42
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57
43
You can’t perform that action at this time.
0 commit comments