Skip to content

Commit

Permalink
CI publish potential fix
Browse files Browse the repository at this point in the history
I get:

/app/twine-upload.sh: line 35: twine: command not found

Revert to ubuntu-latest.
Install twine explicitly.
  • Loading branch information
albertz committed Dec 6, 2022
1 parent 2bd0599 commit 36f511c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
github.event.workflow_run.head_branch == 'master' &&
github.event.workflow_run.event == 'push' &&
github.repository == 'rwth-i6/returnn'
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Install Python deps
run: |
echo "PATH=$PATH:~/.local/bin" >> $GITHUB_ENV
pip3 install --user --upgrade pip setuptools wheel
pip3 install --user --upgrade pip setuptools wheel twine
pip3 install --user typing # needed for Python 2 in some cases
pip3 install --user -r requirements.txt
Expand Down

0 comments on commit 36f511c

Please sign in to comment.