From ba6b599ef54584cdea75a1df3ad3198bfd25a5ba Mon Sep 17 00:00:00 2001 From: Justin Jeffery Date: Thu, 21 Apr 2022 13:18:02 -0400 Subject: [PATCH] fix: update release --- .github/workflows/release.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 559ac2e..4ac2510 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,8 @@ jobs: python -m pip install poetry --upgrade pip poetry config experimental.new-installer false poetry config virtualenvs.create false + poetry install --no-interaction --no-dev --no-root + poetry export -f requirements.txt -o req.txt poetry install --no-interaction - name: Run functional tests env: @@ -45,16 +47,11 @@ jobs: run: | git config user.name github-actions git config user.email github-actions@github.com + git add req.txt semantic-release publish -v INFO -D commit_author="github-actions " - - name: Create requirements file for scanning - run: | - poetry env remove 3.8 - poetry config virtualenvs.create true - poetry install --no-interaction --no-dev --no-root - poetry export -f requirements.txt -o req.txt - - name: Commit Requirements File - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: Commit new requirments file - branch: main - file_pattern: req.txt +# - name: Commit Requirements File +# uses: stefanzweifel/git-auto-commit-action@v4 +# with: +# commit_message: Commit new requirments file +# branch: main +# file_pattern: req.txt