Skip to content

Commit

Permalink
build: add deploy job and upgrade python version to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed Apr 2, 2024
1 parent fc2c290 commit 30c05ed
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,25 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'
- run: pip install -r requirements.txt
- run: pyinstaller lmao.spec
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
dist/*
deploy:
runs-on: ubuntu-latest
needs: [build]
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install setuptools wheel build
- run: python -m build
- uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'
- run: python -m venv venv
- run: source venv/bin/activate
- run: pip install -r requirements.txt
Expand Down

0 comments on commit 30c05ed

Please sign in to comment.