Merge pull request #34 from openweathermap/fix/none-in-get #17
Workflow file for this run
This file contains 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: test-build | |
on: | |
push: | |
tags-ignore: | |
- 'v[1-9]+.[0-9]+.[0-9]+' | |
env: | |
PACKAGE_NAME: deker_server_adapters | |
jobs: | |
build_sdist: | |
name: Build test source distribution | |
uses: openweathermap/deker-actions/.github/workflows/build.yml@master | |
upload_test_pypi: | |
name: Upload test source distribution | |
needs: build_sdist | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
environment: | |
name: testpypi | |
url: https://test.pypi.org/p/${{ vars.PACKAGE_NAME }} | |
steps: | |
- uses: actions/download-artifact@v4 | |
with: | |
# unpacks default artifact into dist/ | |
# if `name: artifact` is omitted, the action will create extra parent dir | |
name: artifact | |
path: dist | |
- name: Publish test source distributions to Test-PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
repository-url: https://test.pypi.org/legacy/ |