Skip to content

Commit 541c5cd

Browse files
committed
(maint) Fix automated release packaging
This adds installing psake to the release process, which the packaging build script requires.
1 parent 9d57bc9 commit 541c5cd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release.yml

+5-1
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

+1-1
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)