From ea16cf4dbce3227a0b5bb30c2c32c2b3103f2dbc Mon Sep 17 00:00:00 2001 From: Saeid Akbari Date: Sun, 7 Apr 2024 22:51:19 +0330 Subject: [PATCH] add apple-darwin and pc-windows release targets --- .github/workflows/release.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0fa984e..2ae653a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,10 +20,21 @@ jobs: upload-assets: needs: create-release - runs-on: ubuntu-latest + strategy: + matrix: + include: + - target: x86_64-unknown-linux-gnu + os: ubuntu-latest + - target: x86_64-apple-darwin + os: macos-latest + - target: x86_64-pc-windows-msvc + os: windows-latest + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - uses: taiki-e/upload-rust-binary-action@v1 with: bin: repust + target: ${{ matrix.target }} + zip: windows token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file