We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0de0eb commit d9964d9Copy full SHA for d9964d9
1 file changed
.github/workflows/release.yml
@@ -3,6 +3,11 @@ name: 🚀 Release
3
on:
4
release:
5
types: [published]
6
+ workflow_dispatch: # Allow manual triggering for testing, but it will only publish if it's a release event with a tag
7
+ inputs:
8
+ version:
9
+ description: 'Version to publish (must be a tag like v2024.06.0)'
10
+ required: false
11
permissions:
12
id-token: write # Needed for Azure login with federated token
13
jobs:
@@ -45,7 +50,7 @@ jobs:
45
50
- name: 📥 Get VSIX Release Asset
46
51
uses: dsaltares/[email protected]
47
52
with:
48
- version: ${{ github.event.release.tag_name }}
53
+ version: tags/${{ github.event.inputs.version || github.event.release.tag_name }}
49
54
file: ^github-actions-enhanced-.*\.vsix$
55
regex: true
56
- name: 🚀 Publish to VS Code Marketplace
0 commit comments