Skip to content

Fix script

Fix script #9

name: Publish [GitHub.Git]
on:
push:
paths:
- scripts/**
- src/GitHub.Git/**
- .github/workflows/Publish.GitHub.Git.yml
workflow_dispatch:
defaults:
run:
shell: pwsh
env:
ModuleName: 'GitHub.Git'
APIKey: ${{ secrets.apikey }}
jobs:
publish:
runs-on: 'ubuntu-latest'
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Publish module
run: |
.\scripts\Publish-Module.ps1 -ModuleName $env:ModuleName -APIKey $env:APIKey -Verbose