Update regex pattern for version matching #54
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
| on: push | |
| jobs: | |
| install-latest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install Knope | |
| uses: ./ | |
| - name: Test Knope | |
| run: knope --help | |
| - name: Verify no artifacts in path | |
| run: git status | |
| install-specific-version: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install Knope | |
| uses: ./ | |
| with: | |
| version: 0.22.3-rc.0 | |
| - name: Test Knope | |
| run: knope --help | |
| - name: Verify no artifacts in path | |
| run: git status | |
| install-monorepo-version: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install Knope | |
| uses: ./ | |
| with: | |
| version: 0.16.2 | |
| - name: Test Knope | |
| run: knope --help | |
| - name: Verify no artifacts in path | |
| run: git status | |
| pass-a-token: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install Knope With Token | |
| uses: ./ | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Test Knope | |
| run: knope --help |