Semantic Release Diagnostics #41
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: Semantic Release Diagnostics | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| diagnose: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: "3.x" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install python-semantic-release | |
| - name: Check semantic-release version | |
| run: | | |
| echo "Semantic Release Version:" | |
| python -m pip show python-semantic-release | |
| echo "Available Commands and Options:" | |
| semantic-release --help | |
| semantic-release version --help | |
| echo "Current Branch:" | |
| git branch --show-current | |
| echo "All Branches:" | |
| git branch -a |