Skip to content

Commit

Permalink
test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Amoki committed Nov 27, 2023
1 parent 035011e commit 2b2db82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
- name: Install requirements
run: pip install tox twine -r requirements.txt -r test-requirements.txt
# Open-api-generator is broken. To be updated when upgrading
Expand All @@ -36,13 +36,15 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: 3.11
- name: Install ci requirements
run: pip install -r ci-requirements.txt
- name: Release
run: |
git config --global user.email "[email protected]"
git config --global user.name "GA"
PYTHONPATH=$PWD semantic-release version
PYTHONPATH=$PWD twine upload dist/* # or whichever path your distributions are placed in
PYTHONPATH=$PWD semantic-release publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion ci-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
python-semantic-release==7.19.2
python-semantic-release==8.3.0
twine==3.8.0

0 comments on commit 2b2db82

Please sign in to comment.