Adjust dependency versions before publishing #12
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: Publish pre-release to Test PyPI | |
| on: [push] | |
| # push: | |
| # branches: | |
| # - develop | |
| # - release/2.x | |
| # workflow_dispatch: | |
| env: | |
| PYTHON_VERSION: 3.13 | |
| jobs: | |
| publish-pre-release: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write # Required for publishing | |
| environment: | |
| name: splunk-test-pypi | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - uses: ./.github/actions/setup-sdk-environment | |
| with: | |
| python-version: ${{ env.PYTHON_VERSION }} | |
| deps-group: release | |
| - name: Set temporary pre-release version | |
| run: | | |
| VERSION_BASE="$(uv version --short)" | |
| RUN_NUMBER="${{ github.run_number }}" | |
| COMMIT_SHA="$(git rev-parse --short HEAD)" | |
| uv version --frozen "${VERSION_BASE}.dev${RUN_NUMBER}+g${COMMIT_SHA}" | |
| - name: Build packages for distribution | |
| run: uv build | |
| - name: Run AppInspect | |
| uses: ./.github/actions/run-appinspect | |
| # - name: Publish packages to Test PyPI | |
| # uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b | |
| # with: | |
| # repository-url: https://test.pypi.org/legacy/ |