Skip to content

Commit

Permalink
Fix publish workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Wout Feys committed Jan 23, 2025
1 parent d89823f commit bbf7147
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ jobs:
run: |
sudo echo "127.0.0.1 local.aikido.io" | sudo tee -a /etc/hosts
- name: Installation
run: make install
- name: Set the version for this release
run: |
TAG_NAME=${GITHUB_REF##*/}
make replace_version version=${TAG_NAME#v}
run: make dev_install
- name: Run Pylint
run: |
poetry run pylint --fail-under=9 --rcfile=.pylintrc aikido_zen/
Expand Down Expand Up @@ -52,6 +48,10 @@ jobs:
- uses: actions/checkout@v4
- name: Install poetry
run: pip install poetry
- name: Set the version for this release
run: |
TAG_NAME=${GITHUB_REF##*/}
make replace_version version=${TAG_NAME#v}
- name: Download binaries & build
run: make build
- name: Publish to PyPI
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ jobs:
run: |
sudo echo "127.0.0.1 local.aikido.io" | sudo tee -a /etc/hosts
- name: Installation
run: make install
- name: Set the version for this release
run: |
TAG_NAME=${GITHUB_REF##*/}
make replace_version version=${TAG_NAME#v}
run: make dev_install
- name: Run Pylint
run: |
poetry run pylint --fail-under=9 --rcfile=.pylintrc aikido_zen/
Expand Down Expand Up @@ -53,6 +49,10 @@ jobs:
- uses: actions/checkout@v4
- name: Install poetry
run: pip install poetry
- name: Set the version for this release
run: |
TAG_NAME=${GITHUB_REF##*/}
make replace_version version=${TAG_NAME#dev-v}
- name: Install dependencies
run: poetry install
- name: Download binaries & build
Expand Down

0 comments on commit bbf7147

Please sign in to comment.