fix: apt has not a stable cli, set frontend to noninteractive to avoi… #3
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 | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
container: | |
image: ghcr.io/vanilla-os/pico:main | |
volumes: | |
- /proc:/proc | |
- /:/run/host | |
options: --privileged -it | |
steps: | |
- uses: actions/checkout@v4 | |
- name: De-bloat stock image | |
run: | | |
rm -r /run/host/usr/share/dotnet | |
rm -r /run/host${{ runner.tool_cache }} | |
- name: Install needed packages | |
run: | | |
export DEBIAN_FRONTEND=noninteractive | |
apt update | |
apt install -y build-essential debhelper-compat dh-sequence-gnome libglib2.0-dev meson | |
- name: Build debian package | |
run: | | |
dpkg-buildpackage --no-sign | |
mv ../*.deb ../vanilla-backgrounds.deb | |
- uses: softprops/action-gh-release@v1 | |
with: | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
tag_name: "continuous" | |
prerelease: true | |
name: "Continuous Build" | |
files: | | |
/__w/vanilla-backgrounds/vanilla-backgrounds.deb |