File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -13,18 +13,26 @@ jobs:
13
13
- os : ubuntu-latest
14
14
artifact_name : gfold
15
15
asset_name : gfold-linux-gnu-x86-64
16
+ target : x86_64-unknown-linux-gnu
17
+ - os : ubuntu-latest
18
+ artifact_name : gfold
19
+ asset_name : gfold-linux-musl-x86-64
20
+ target : x86_64-unknown-linux-musl
16
21
- os : windows-latest
17
22
artifact_name : gfold.exe
18
23
asset_name : gfold-windows-x86-64.exe
24
+ target : x86_64-pc-windows-msvc
19
25
- os : macos-latest
20
26
artifact_name : gfold
21
27
asset_name : gfold-darwin-aarch64
28
+ target : aarch64-apple-darwin
22
29
steps :
23
30
- uses : actions/checkout@v4
24
31
- uses : dtolnay/rust-toolchain@stable
25
32
with :
26
33
toolchain : stable
27
- - run : cargo build --release --locked
34
+ targets : ${{ matrix.target }}
35
+ - run : cargo build --release --locked --target ${{ matrix.target }}
28
36
- shell : bash
29
37
run : |
30
38
if [ $(echo ${{ github.ref }} | grep "rc") ]; then
36
44
fi
37
45
echo $PRERELEASE
38
46
39
- mv target/release/${{ matrix.artifact_name }} ${{ matrix.asset_name }}
47
+ mv target/${{ matrix.target }}/ release/${{ matrix.artifact_name }} ${{ matrix.asset_name }}
40
48
- uses : softprops/action-gh-release@v2
41
49
with :
42
50
files : ${{ matrix.asset_name }}
You can’t perform that action at this time.
0 commit comments