Skip to content

Update pyinstaller

Update pyinstaller #2

name: Release for Linux
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install requirements
run: >-
python3 -m pip install .[dev] --user
- name: Package application
run: >-
cd hasherino && flet pack hasherino.py --add-data UserAuth.html:UserAuth.html
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}
files: |
hasherino/dist/hasherino