From 72c12d5bb62e2454aeff4ccac1055eb5c5cfab45 Mon Sep 17 00:00:00 2001 From: House of Vanity Date: Sun, 18 Jun 2023 17:00:22 +0300 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ef1cfd..25405be 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,3 @@ -name: Release on: release: @@ -11,7 +10,13 @@ jobs: strategy: fail-fast: false matrix: - target: [x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, x86_64-unknown-linux-gnu] + include: + - target: x86_64-pc-windows-gnu + archive: zip + - target: x86_64-unknown-linux-musl + archive: tar.gz tar.xz tar.zst + - target: x86_64-apple-darwin + archive: zip steps: - uses: actions/checkout@master - name: Compile and release @@ -20,4 +25,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: RUSTTARGET: ${{ matrix.target }} - EXTRA_FILES: "README.md LICENSE" + ARCHIVE_TYPES: ${{ matrix.archive }}