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