Skip to content

Commit

Permalink
fix Poetry ver in GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TheVinhLuong102 committed Jul 31, 2023
1 parent f1fe708 commit f39a02f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
python-version: 3.9

- name: Install Poetry
uses: snok/install-poetry@v1.1.6
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand All @@ -40,7 +40,7 @@ jobs:
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/

- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Set version
run: |
echo "H1ST_VERSION=$(poetry version -s)" >> $GITHUB_ENV
- name: Create tag using environment variable for version
uses: julb/action-manage-tag@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install Poetry
uses: snok/install-poetry@v1.1.6
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true
Expand All @@ -68,7 +68,7 @@ jobs:
test_arm_linux:
needs: sanityCheck
runs-on: self-hosted-arm-linux
container:
container:
image: ${{ matrix.docker-image }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -99,4 +99,4 @@ jobs:
- name: Post clean up the home dir with poetry cache
run: |
rm -rf /github/home/.cache/
rm -rf /github/home/.local/
rm -rf /github/home/.local/

0 comments on commit f39a02f

Please sign in to comment.