Skip to content

Commit aaae575

Browse files
authored
Merge pull request mavlink#274 from mavlink/pr-fix-twine-again
workflows: fix twine again
2 parents 6af4030 + a38408a commit aaae575

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,11 @@ jobs:
4848
env:
4949
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
5050
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
51+
TWINE_NON_INTERACTIVE: 1
5152
if: startsWith(github.ref, 'refs/tags/')
5253
run: |
53-
TWINE_NON_INTERACTIVE=1 twine upload wheelhouse/*.whl
54+
export PATH=$PATH:$HOME/.local/bin
55+
twine upload wheelhouse/*.whl
5456
5557
ubuntu20-other:
5658
name: Ubuntu 20.04 ${{ matrix.arch }}
@@ -96,9 +98,11 @@ jobs:
9698
env:
9799
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
98100
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
101+
TWINE_NON_INTERACTIVE: 1
99102
if: startsWith(github.ref, 'refs/tags/')
100103
run: |
101-
TWINE_NON_INTERACTIVE=1 twine upload dist/*.whl
104+
export PATH=$PATH:$HOME/.local/bin
105+
twine upload dist/*.whl
102106
103107
macOS:
104108
name: macOS
@@ -133,9 +137,11 @@ jobs:
133137
env:
134138
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
135139
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
140+
TWINE_NON_INTERACTIVE: 1
136141
if: startsWith(github.ref, 'refs/tags/')
137142
run: |
138-
TWINE_NON_INTERACTIVE=1 twine upload wheelhouse/*.whl
143+
export PATH=$PATH:$HOME/.local/bin
144+
twine upload wheelhouse/*.whl
139145
140146
Windows:
141147
name: Windows (${{ matrix.arch }})
@@ -184,6 +190,8 @@ jobs:
184190
env:
185191
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
186192
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
193+
TWINE_NON_INTERACTIVE: 1
187194
if: startsWith(github.ref, 'refs/tags/')
188195
run: |
189-
TWINE_NON_INTERACTIVE=1 twine upload dist/*.whl
196+
export PATH=$PATH:$HOME/.local/bin
197+
twine upload dist/*.whl

0 commit comments

Comments
 (0)