File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77jobs :
88 build :
99 strategy :
10+ fail-fast : false
1011 matrix :
1112 include :
12- - target : aarch64-apple-darwin
13- os : macos-14
13+ - os : macos-14
1414 archive : engraph-macos-arm64.tar.gz
15- - target : x86_64-apple-darwin
16- os : macos-latest
17- archive : engraph-macos-x86_64.tar.gz
18- - target : x86_64-unknown-linux-gnu
19- os : ubuntu-latest
15+ - os : ubuntu-latest
2016 archive : engraph-linux-x86_64.tar.gz
2117 runs-on : ${{ matrix.os }}
2218 permissions :
2319 contents : write
2420 steps :
2521 - uses : actions/checkout@v4
2622 - uses : dtolnay/rust-toolchain@stable
27- with :
28- targets : ${{ matrix.target }}
29- - run : cargo build --release --target ${{ matrix.target }}
23+ - run : cargo build --release
3024 - name : Archive binary
3125 run : |
32- cd target/${{ matrix.target }}/ release
33- tar czf ../../../ ${{ matrix.archive }} engraph
34- cd ../../..
26+ cd target/release
27+ tar czf ../../${{ matrix.archive }} engraph
28+ cd ../..
3529 - uses : softprops/action-gh-release@v2
3630 with :
3731 files : ${{ matrix.archive }}
You can’t perform that action at this time.
0 commit comments