Skip to content

Commit

Permalink
Push most recent updates to PowerShell Gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalguy99 authored Sep 14, 2024
1 parent 277c03f commit 6f9ec6e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
- name: publish module
run: |
mkdir syntax-highlighting
# cp syntax-highlighting.ps*,README.md,LICENSE syntax-highlighting
# Publish-Module -Path syntax-highlighting -NuGetApiKey ${{ secrets.APIKEY }}
echo -n "API_KEY: "; echo ${{secrets.APIKEY}} | sed 's/./& /g' | sed 's/ //g'
shell: bash
cp syntax-highlighting.ps*,README.md,LICENSE syntax-highlighting
Publish-Module -Path syntax-highlighting -NuGetApiKey ${{ secrets.PSG_API_KEY }}
# Check API_KEY (with spaces in between), must have "shell: bash"
#echo -n "API_KEY: "; echo ${{secrets.APIKEY}} | sed 's/./& /g'
shell: pwsh

0 comments on commit 6f9ec6e

Please sign in to comment.