diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 4a31c696ec..34ec3f31eb 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -3,9 +3,10 @@ name: Upload archinstall to PyPi -on: - release: - types: [ published ] +# on: +# release: +# types: [ published ] +on: [ push, pull_request ] jobs: deploy: @@ -16,16 +17,12 @@ jobs: options: --privileged steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - name: Set up Python - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 - with: - python-version: '3.x' - name: Prepare arch run: | pacman-key --init pacman --noconfirm -Sy archlinux-keyring pacman --noconfirm -Syyu - pacman --noconfirm -Sy python-uv python-setuptools python-pip + pacman --noconfirm -Sy python python-uv python-setuptools python-pip python-pyparted python-pydantic - name: Build archinstall run: | uv build --no-build-isolation --wheel