Update GH Actions #4
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
name: Build test .deb package | |
on: [push] | |
jobs: | |
PyTest: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
- name: Install Poetry | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: "1.8.3" | |
- name: Install dev-dependencies | |
run: | | |
sudo apt install -y build-essential | |
sudo ./scripts/install_dpkg_dependencies.sh | |
- name: Set up poetry environment | |
run: poetry install | |
- name: Change in-app version | |
run: bash ./scripts/bump_version.sh git-$(git rev-parse HEAD)' | |
- name: Run build script | |
run: bash ./scripts/build_debian/build.sh | |
- name: Upload bundle | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Debian package | |
path: openfreebuds_*.deb |