mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-12-28 18:04:50 -05:00
🐛Move Twine repository URL definitions to steps
This commit is contained in:
parent
47622d7eb0
commit
ee892fd7f2
1 changed files with 12 additions and 9 deletions
21
.github/workflows/self-smoke-test-action.yml
vendored
21
.github/workflows/self-smoke-test-action.yml
vendored
|
@ -29,14 +29,6 @@ jobs:
|
|||
smoke-test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
TWINE_REPOSITORY_URL: >-
|
||||
http://devpi:${{
|
||||
job.services.devpi.ports['3141']
|
||||
}}/${{
|
||||
env.devpi-username
|
||||
}}/public/
|
||||
|
||||
services:
|
||||
devpi:
|
||||
image: muccg/devpi
|
||||
|
@ -83,11 +75,22 @@ jobs:
|
|||
env:
|
||||
TWINE_USERNAME: ${{ env.devpi-username }}
|
||||
TWINE_PASSWORD: ${{ env.devpi-password }}
|
||||
TWINE_REPOSITORY_URL: >-
|
||||
http://devpi:${{
|
||||
job.services.devpi.ports['3141']
|
||||
}}/${{
|
||||
env.devpi-username
|
||||
}}/public/
|
||||
- name: ✅ Smoke-test the locally checked out action
|
||||
uses: ./test
|
||||
with:
|
||||
user: ${{ env.devpi-username }}
|
||||
password: ${{ env.devpi-password }}
|
||||
repository_url: ${{ env.TWINE_REPOSITORY_URL }}
|
||||
repository_url: >-
|
||||
http://devpi:${{
|
||||
job.services.devpi.ports['3141']
|
||||
}}/${{
|
||||
env.devpi-username
|
||||
}}/public/
|
||||
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue