Skip to content

Commit 6f9ec6e

Browse files
authored
Push most recent updates to PowerShell Gallery
1 parent 277c03f commit 6f9ec6e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ jobs:
99
- name: publish module
1010
run: |
1111
mkdir syntax-highlighting
12-
# cp syntax-highlighting.ps*,README.md,LICENSE syntax-highlighting
13-
# Publish-Module -Path syntax-highlighting -NuGetApiKey ${{ secrets.APIKEY }}
14-
echo -n "API_KEY: "; echo ${{secrets.APIKEY}} | sed 's/./& /g' | sed 's/ //g'
15-
shell: bash
12+
cp syntax-highlighting.ps*,README.md,LICENSE syntax-highlighting
13+
Publish-Module -Path syntax-highlighting -NuGetApiKey ${{ secrets.PSG_API_KEY }}
14+
# Check API_KEY (with spaces in between), must have "shell: bash"
15+
#echo -n "API_KEY: "; echo ${{secrets.APIKEY}} | sed 's/./& /g'
16+
shell: pwsh

0 commit comments

Comments
 (0)