build(deps-dev): bump types-tqdm from 4.66.0.3 to 4.66.0.4 #127
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [ main ] | |
tags: [ "*" ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install poetry | |
run: pipx install poetry | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
cache: "poetry" | |
- name: Install Poetry | |
run: python -m pip install --user poetry | |
- name: Install dependencies | |
run: poetry install --no-interaction --no-root | |
- name: Install UPX | |
uses: crazy-max/ghaction-upx@v3 | |
with: | |
install-only: true | |
- name: Build executable | |
run: poetry run build | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Guardian | |
path: dist/Guardian-*.exe | |
- uses: softprops/action-gh-release@v1 | |
with: | |
files: dist/Guardian-*.exe | |
if: startsWith(github.ref, 'refs/tags/') |