ci: adding artifact name

This commit is contained in:
Hydra 2024-04-15 11:36:12 +01:00
parent d56d74a77b
commit cc52f399f2
No known key found for this signature in database

View file

@ -10,8 +10,16 @@ jobs:
matrix: matrix:
os: 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 }} runs-on: ${{ matrix.os.name }}
@ -51,5 +59,5 @@ jobs:
- name: Create artifact - name: Create artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Build name: ${{ matrix.os.artifact }}
path: ${{ matrix.os.build_path }} path: ${{ matrix.os.build_path }}