🐛Move Twine repository URL definitions to steps
This commit is contained in:
parent
47622d7eb0
commit
ee892fd7f2
|
@ -29,14 +29,6 @@ jobs:
|
||||||
smoke-test:
|
smoke-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
env:
|
|
||||||
TWINE_REPOSITORY_URL: >-
|
|
||||||
http://devpi:${{
|
|
||||||
job.services.devpi.ports['3141']
|
|
||||||
}}/${{
|
|
||||||
env.devpi-username
|
|
||||||
}}/public/
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
devpi:
|
devpi:
|
||||||
image: muccg/devpi
|
image: muccg/devpi
|
||||||
|
@ -83,11 +75,22 @@ jobs:
|
||||||
env:
|
env:
|
||||||
TWINE_USERNAME: ${{ env.devpi-username }}
|
TWINE_USERNAME: ${{ env.devpi-username }}
|
||||||
TWINE_PASSWORD: ${{ env.devpi-password }}
|
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
|
- name: ✅ Smoke-test the locally checked out action
|
||||||
uses: ./test
|
uses: ./test
|
||||||
with:
|
with:
|
||||||
user: ${{ env.devpi-username }}
|
user: ${{ env.devpi-username }}
|
||||||
password: ${{ env.devpi-password }}
|
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 New Issue