1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2026-01-24 05:00:58 +00:00

Add artifact-suffix input to Windows workflow

This commit is contained in:
Diject 2026-01-04 20:44:02 +03:00
parent 9a77901d82
commit 62227aa1a4
2 changed files with 8 additions and 3 deletions

View file

@ -156,3 +156,4 @@ jobs:
vcpkg-deps-tag: ${{ needs.Output-Envs.outputs.VCPKG_DEPS_TAG }}
build-type: ${{ needs.Output-Envs.outputs.BUILD_TYPE }}
package: true
artifact-suffix: "-installer"

View file

@ -24,6 +24,10 @@ on:
release:
default: false
type: boolean
artifact-suffix:
description: Suffix to add to artifact names
default: ""
type: string
jobs:
Windows:
@ -200,19 +204,19 @@ jobs:
- name: Store OpenMW archived pdb files
uses: actions/upload-artifact@v4
with:
name: openmw-windows-${{ inputs.msvc }}-pdb-${{ github.sha }}
name: openmw-windows-${{ inputs.msvc }}-pdb${{ inputs.artifact-suffix }}-${{ github.sha }}
path: ${{ github.workspace }}/pdb/*
- name: Store OpenMW build artifacts
uses: actions/upload-artifact@v4
with:
name: openmw-windows-${{ inputs.msvc }}-${{ github.sha }}
name: openmw-windows-${{ inputs.msvc }}${{ inputs.artifact-suffix }}-${{ github.sha }}
path: ${{ github.workspace }}/install/*
- name: Store symbol server artifacts
uses: actions/upload-artifact@v4
with:
name: openmw-windows-${{ inputs.msvc }}-sym-store-${{ github.sha }}
name: openmw-windows-${{ inputs.msvc }}-sym-store${{ inputs.artifact-suffix }}-${{ github.sha }}
path: ${{ github.workspace }}/SymStore/*
- name: Upload to symbol server