From cc52f399f2416395613190a886176b941e1f7836 Mon Sep 17 00:00:00 2001 From: Hydra Date: Mon, 15 Apr 2024 11:36:12 +0100 Subject: [PATCH] ci: adding artifact name --- .github/workflows/build.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0422a7df2..dd25f6937 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,16 @@ jobs: matrix: os: [ - { name: windows-latest, build_path: out/Hydra-win32-x64 }, - { name: ubuntu-latest, build_path: out/Hydra-linux-x64 }, + { + name: windows-latest, + build_path: out/Hydra-win32-x64, + artifact: Hydra-win32-x64, + }, + { + name: ubuntu-latest, + build_path: out/Hydra-linux-x64, + artifact: Hydra-linux-x64, + }, ] runs-on: ${{ matrix.os.name }} @@ -51,5 +59,5 @@ jobs: - name: Create artifact uses: actions/upload-artifact@v4 with: - name: Build + name: ${{ matrix.os.artifact }} path: ${{ matrix.os.build_path }}