refactor(downGithub.ps1): 重构仓库更新逻辑并添加OnlyBackup参数 #14
This file contains hidden or 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: PowerShell Tests | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| test: | |
| name: Run Pester Tests | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Perform a Pester test | |
| shell: pwsh | |
| run: | |
| Invoke-Pester -Configuration (./PesterConfiguration.ps1) |