From d2d37ed5d5a594f3b776fb66f50480aa5ad83da9 Mon Sep 17 00:00:00 2001 From: Latif Sulistyo Date: Wed, 1 Mar 2023 14:32:21 +0700 Subject: [PATCH] =?UTF-8?q?chore:=20fix=20workflows=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit see: https://github.com/actions/runner/issues/480 --- .github/workflows/gh-release.yml | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/.github/workflows/gh-release.yml b/.github/workflows/gh-release.yml index c725459..ad5588e 100644 --- a/.github/workflows/gh-release.yml +++ b/.github/workflows/gh-release.yml @@ -4,33 +4,26 @@ on: push: tags: ["*"] -env: - WIN_ARTIFACT: chara-windows-x86_64 - LINUX_ARTIFACT: chara-linux-x86_64 - LINUX_AARCH_ARTIFACT: chara-linux-aarch64 - MACOS_ARTIFACT: chara-macos-x86_64 - MACOS_AARCH_ARTIFACT: chara-macos-aarch64 - jobs: build-artifacts: strategy: matrix: include: - os: windows-latest - artifact-name: ${{ env.WIN_ARTIFACT }} + artifact-name: chara-windows-x86_64 cargo-target: x86_64-pc-windows-msvc - os: ubuntu-latest - artifact-name: ${{ env.LINUX_ARTIFACT }} + artifact-name: chara-linux-x86_64 cargo-target: x86_64-unknown-linux-gnu - os: ubuntu-latest - artifact-name: ${{ env.LINUX_AARCH_ARTIFACT }} + artifact-name: chara-linux-aarch64 cargo-target: aarch64-unknown-linux-gnu linker: gcc-aarch64-linux-gnu - os: macos-latest - artifact-name: ${{ env.MACOS_ARTIFACT }} + artifact-name: chara-macos-x86_64 cargo-target: x86_64-apple-darwin - os: macos-latest - artifact-name: ${{ env.MACOS_AARCH_ARTIFACT }} + artifact-name: chara-macos-aarch64 cargo-target: aarch64-apple-darwin name: ⚙️ Build (${{ matrix.artifact-name }}) @@ -94,8 +87,8 @@ jobs: draft: true generate_release_notes: true files: | - ${{ env.WIN_ARTIFACT }}.zip - ${{ env.LINUX_ARTIFACT }}.zip - ${{ env.LINUX_AARCH_ARTIFACT }}.zip - ${{ env.MACOS_ARTIFACT }}.zip - ${{ env.MACOS_AARCH_ARTIFACT }}.zip + chara-linux-x86_64.zip + chara-linux-aarch64.zip + chara-macos-x86_64.zip + chara-macos-aarch64.zip + chara-windows-x86_64.zip