From abf2332634b873017b2ac376d2555f235e0838a9 Mon Sep 17 00:00:00 2001 From: Innei Date: Wed, 16 Feb 2022 22:18:10 +0800 Subject: [PATCH] ci: build matrix --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4857a073..467135ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,10 @@ name: Release jobs: build: name: Upload Release Asset - runs-on: ubuntu-latest + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -76,7 +79,7 @@ jobs: with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: ./release.zip - asset_name: release-ubuntu.zip + asset_name: release-${{ matrix.os }}.zip asset_content_type: application/zip deploy: name: Deploy to server