chore: update szerror.py and bump version to 4.1.2 (#491) (#493) #1118
Workflow file for this run
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: Build distribution | |
| on: [push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-distribution: | |
| name: Build distribution | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.13"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install pypa/build | |
| run: | | |
| python -m venv ./venv | |
| source ./venv/bin/activate | |
| echo "PATH=${PATH}" >> "${GITHUB_ENV}" | |
| python -m pip install --upgrade pip | |
| python -m pip install . | |
| python -m pip install build | |
| - name: Build a binary wheel and a source tarball | |
| run: | | |
| source ./venv/bin/activate | |
| python3 -m build | |
| - name: Store the distribution packages | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: python-package-distributions | |
| path: dist/ | |
| slack-notification: | |
| needs: [build-distribution] | |
| if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.build-distribution.result ) && github.ref_name == github.event.repository.default_branch }} | |
| secrets: | |
| SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | |
| SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }} | |
| uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v4 | |
| with: | |
| job-status: ${{ needs.build-distribution.result }} |