name: Compile & Release on: release: tags: - "*" env: CARGO_TERM_COLOR: always jobs: release: name: Release ${{ matrix.target }} runs-on: ubuntu-latest strategy: fail-fast: false # Don't fail all jobs even if one fails matrix: include: - target: x86_64-unknown-linux-musl archive: tar.gz tar.xz - target: x86_64-apple-darwin archive: zip steps: - uses: actions/checkout@main - name: Compile and release uses: rust-build/rust-build.action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: RUSTTARGET: ${{ matrix.target }} ARCHIVE_TYPES: ${{ matrix.archive }} EXTRA_FILES: "README.md LICENSE"