v1.4.0 #27
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@v4 | |
with: | |
python-version: '3.10' | |
- uses: Gr1N/setup-poetry@v8 | |
- uses: actions/cache@v3 | |
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 |