v1.6.0 #29
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
# SPDX-FileCopyrightText: AISEC Pentesting Team | |
# | |
# SPDX-License-Identifier: CC0-1.0 | |
name: Upload Python zipapp | |
on: | |
release: | |
types: [published] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- uses: Gr1N/setup-poetry@v8 | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.cache/pypoetry/virtualenvs | |
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }}-${{ hashFiles('pyproject.toml') }} | |
- name: Install Dependencies | |
run: | | |
poetry install | |
- name: Build zipapp | |
run: | | |
poetry run make zipapp | |
- name: Upload zipapp | |
run: | | |
gh release upload ${{ github.ref_name }} gallia.pyz |