Skip to content

Fix script

Fix script #16

name: Publish [GitHub.Core]
on:
push:
paths:
- scripts/**
- src/GitHub.Core/**
- .github/workflows/Publish.GitHub.Core.yml
workflow_dispatch:
defaults:
run:
shell: pwsh
env:
ModuleName: 'GitHub.Core'
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