Skip to content

Commit

Permalink
成果物のサフィックス指定の調整
Browse files Browse the repository at this point in the history
  • Loading branch information
r-koubou committed Nov 15, 2023
1 parent 8139cdf commit 5ef21e5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
build-configuration:
required: true
type: string
custom-suffix:
required: false
type: string

workflow_dispatch:
inputs:
Expand All @@ -28,6 +31,11 @@ on:
options:
- Debug
- Release
custom-suffix:
description: "Custom suffix for artifact name"
required: false
type: string
default: ""

jobs:
#--------------------------------------------------------------
Expand Down Expand Up @@ -58,7 +66,7 @@ jobs:
- name: Artifact CLI
uses: actions/upload-artifact@v3
with:
name: KeySwitchManager.CLI-${{ inputs.build-configuration }}-${{ github.sha }}
name: KeySwitchManager.CLI-${{ inputs.build-configuration }}${{ inputs.custom-suffix }}-${{ github.sha }}
path: ${{ github.workspace }}/publish/KeySwitchManager.CLI*/

#--------------------------------------------------------------
Expand Down Expand Up @@ -89,5 +97,5 @@ jobs:
- name: Artifact WPF
uses: actions/upload-artifact@v3
with:
name: KeySwitchManager.WPF-${{ inputs.build-configuration }}-${{ github.sha }}
name: KeySwitchManager.WPF-${{ inputs.build-configuration }}${{ inputs.custom-suffix }}-${{ github.sha }}
path: ${{ github.workspace }}/publish/KeySwitchManager.WPF*/

0 comments on commit 5ef21e5

Please sign in to comment.