Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
fix: update release
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeff07 committed Apr 21, 2022
1 parent a6fec0c commit ba6b599
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 <action@github.com>"
- 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

0 comments on commit ba6b599

Please sign in to comment.