🐛Move Twine repository URL definitions to steps

This commit is contained in:
Sviatoslav Sydorenko 2022-12-06 23:01:39 +01:00
parent 47622d7eb0
commit ee892fd7f2
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 9345E8FEA89CA455

View file

@ -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/
...