Skip to content

Commit

Permalink
Updating github workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Grieser committed Oct 7, 2024
1 parent bab58f0 commit 10d6497
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,21 @@ jobs:
build:
runs-on: ubuntu-latest
container:
image: python:3.12
image: python:3.12-bookworm
steps:
- uses: actions/checkout@v4
- name: Build and test
- name: Build
run: |
set -e
. .env
apt update
[ -v APT_PACKAGES ] && apt install -y ${APT_PACKAGES}
python -V
export VERSION=${{ github.ref_name }}
printf "$(cat version.py)" "${VERSION}" > version.py
pip install -U pip
pip install -r requirements.txt
pyinstaller ${{ github.event.repository.name }} --onefile
pyinstaller ${{ github.event.repository.name }}.spec
set -x
./dist/${{ github.event.repository.name }} --version
set +x
Expand Down

0 comments on commit 10d6497

Please sign in to comment.