🐛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
No known key found for this signature in database
GPG Key ID: 9345E8FEA89CA455
1 changed files with 12 additions and 9 deletions

View File

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