9 name: release ${{ matrix.target }}
10 runs-on: ubuntu-latest
15 - target: x86_64-pc-windows-gnu
17 - target: x86_64-unknown-linux-musl
18 archive: tar.gz tar.xz
19 - target: x86_64-apple-darwin
22 - uses: actions/checkout@v2
23 - name: Compile and release
24 uses: rust-build/rust-build.action@v1.3.2
26 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28 RUSTTARGET: ${{ matrix.target }}
29 ARCHIVE_TYPES: ${{ matrix.archive }}
30 EXTRA_FILES: "README.md LICENSE"
31 PRE_BUILD: "pre_build.sh"