Skip to content

Commit ee892fd

Browse files
committed
🐛Move Twine repository URL definitions to steps
1 parent 47622d7 commit ee892fd

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/self-smoke-test-action.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ jobs:
2929
smoke-test:
3030
runs-on: ubuntu-latest
3131

32-
env:
33-
TWINE_REPOSITORY_URL: >-
34-
http://devpi:${{
35-
job.services.devpi.ports['3141']
36-
}}/${{
37-
env.devpi-username
38-
}}/public/
39-
4032
services:
4133
devpi:
4234
image: muccg/devpi
@@ -83,11 +75,22 @@ jobs:
8375
env:
8476
TWINE_USERNAME: ${{ env.devpi-username }}
8577
TWINE_PASSWORD: ${{ env.devpi-password }}
78+
TWINE_REPOSITORY_URL: >-
79+
http://devpi:${{
80+
job.services.devpi.ports['3141']
81+
}}/${{
82+
env.devpi-username
83+
}}/public/
8684
- name: ✅ Smoke-test the locally checked out action
8785
uses: ./test
8886
with:
8987
user: ${{ env.devpi-username }}
9088
password: ${{ env.devpi-password }}
91-
repository_url: ${{ env.TWINE_REPOSITORY_URL }}
89+
repository_url: >-
90+
http://devpi:${{
91+
job.services.devpi.ports['3141']
92+
}}/${{
93+
env.devpi-username
94+
}}/public/
9295
9396
...

0 commit comments

Comments
 (0)