Skip to content

Updated version number #12

Updated version number

Updated version number #12

Workflow file for this run

name: Publish
on: [push, workflow_dispatch]
jobs:
publish:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: publish module
run: |
mkdir syntax-highlighting
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