Skip to content

Commit 9adb4d7

Browse files
authored
Merge pull request #687 from jpogran/fix-release-packaging
(maint) Fix automated release packaging
2 parents 9d57bc9 + 541c5cd commit 9adb4d7

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ jobs:
1818
with:
1919
node-version: ${{ env.NODE_VERSION }}
2020

21+
- name: Install psake
22+
shell: pwsh
23+
run: Install-Module psake -Force
24+
2125
- name: Package vsix
2226
id: create_package
2327
shell: pwsh
@@ -58,4 +62,4 @@ jobs:
5862
id: publish-release-asset
5963
shell: pwsh
6064
run: |
61-
npx vsce publish -p ${{ secrets.VSCE_TOKEN }} --packagePath ./puppet-vscode-${{ steps.vsce.outputs.version }}.vsix
65+
vsce publish -p ${{ secrets.VSCE_TOKEN }} --packagePath ./puppet-vscode-${{ steps.vsce.outputs.version }}.vsix

build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ param(
55
)
66

77
if (!(Get-Module -Name psake -ListAvailable)) {
8-
Install-Module -Name psake -Scope CurrentUser
8+
Install-Module -Name psake -Scope CurrentUser -Force
99
}
1010

1111
Invoke-psake `

0 commit comments

Comments
 (0)