Skip to content

Commit 7939555

Browse files
authored
Update ado_artifacts_build.yml
1 parent ed5b82a commit 7939555

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ado_artifacts_build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Publish to Azure Artifacts
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Version to publish'
8+
required: true
9+
type: string
510
push:
611
tags:
712
- '*'
@@ -29,5 +34,5 @@ jobs:
2934
env:
3035
AZURE_DEVOPS_ARTIFACT_USERNAME: ${{ secrets.AZURE_DEVOPS_ARTIFACT_USERNAME }}
3136
AZURE_DEVOPS_ARTIFACT_TOKEN: ${{ secrets.AZURE_DEVOPS_ARTIFACT_TOKEN }}
32-
RELEASE_VERSION: ${{ github.ref_name }}
37+
RELEASE_VERSION: ${{ inputs.version || github.ref_name }}
3338
shell: bash

0 commit comments

Comments
 (0)