Fix AuthMode selection during refresh #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish [GitHub] | |
on: | |
push: | |
branches: | |
- '*' | |
paths: | |
- .github/workflows/Publish.GitHub.yml | |
- src/GitHub/** | |
- icon/** | |
workflow_dispatch: | |
jobs: | |
BuildModule: | |
name: Build Module | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Build Module | |
uses: PSModule/Build-Module@main | |
with: | |
Verbose: true | |
- name: Test Module | |
uses: PSModule/Test-Module@main | |
with: | |
Verbose: true | |
- name: Release Module | |
uses: PSModule/Release-Module@main | |
with: | |
APIKey: ${{ secrets.APIKEY }} | |
Verbose: true |