mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-09 02:13:33 -05:00
🐛Use different ports in/out of GHA containers
This commit is contained in:
parent
a01fa7442e
commit
3a9eaef3ef
1 changed files with 4 additions and 7 deletions
11
.github/workflows/self-smoke-test-action.yml
vendored
11
.github/workflows/self-smoke-test-action.yml
vendored
|
@ -9,6 +9,7 @@ on: # yamllint disable-line rule:truthy
|
||||||
env:
|
env:
|
||||||
devpi-password: abcd1234
|
devpi-password: abcd1234
|
||||||
devpi-username: root
|
devpi-username: root
|
||||||
|
devpi-port: 3141
|
||||||
|
|
||||||
FORCE_COLOR: 1 # Request colored output from CLI tools supporting it
|
FORCE_COLOR: 1 # Request colored output from CLI tools supporting it
|
||||||
MYPY_FORCE_COLOR: 1 # MyPy's color enforcement
|
MYPY_FORCE_COLOR: 1 # MyPy's color enforcement
|
||||||
|
@ -35,7 +36,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DEVPI_PASSWORD: ${{ env.devpi-password }}
|
DEVPI_PASSWORD: ${{ env.devpi-password }}
|
||||||
ports:
|
ports:
|
||||||
- 3141
|
- ${{ env.devpi-port }}
|
||||||
|
|
||||||
timeout-minutes: 2
|
timeout-minutes: 2
|
||||||
|
|
||||||
|
@ -77,7 +78,7 @@ jobs:
|
||||||
TWINE_PASSWORD: ${{ env.devpi-password }}
|
TWINE_PASSWORD: ${{ env.devpi-password }}
|
||||||
TWINE_REPOSITORY_URL: >-
|
TWINE_REPOSITORY_URL: >-
|
||||||
http://localhost:${{
|
http://localhost:${{
|
||||||
job.services.devpi.ports['3141']
|
job.services.devpi.ports[env.devpi-port]
|
||||||
}}/${{
|
}}/${{
|
||||||
env.devpi-username
|
env.devpi-username
|
||||||
}}/public/
|
}}/public/
|
||||||
|
@ -87,10 +88,6 @@ jobs:
|
||||||
user: ${{ env.devpi-username }}
|
user: ${{ env.devpi-username }}
|
||||||
password: ${{ env.devpi-password }}
|
password: ${{ env.devpi-password }}
|
||||||
repository_url: >-
|
repository_url: >-
|
||||||
http://devpi:${{
|
http://devpi:${{ env.devpi-port }}/${{ env.devpi-username }}/public/
|
||||||
job.services.devpi.ports['3141']
|
|
||||||
}}/${{
|
|
||||||
env.devpi-username
|
|
||||||
}}/public/
|
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue