File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-22.04
10+ container :
11+ image : ghcr.io/vanilla-os/pico:main
12+ volumes :
13+ - /proc:/proc
14+ - /:/run/host
15+ options : --privileged -it
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+
20+ - name : De-bloat stock image
21+ run : |
22+ rm -r /run/host/usr/share/dotnet
23+ rm -r /run/host${{ runner.tool_cache }}
24+
25+ - name : Install needed packages
26+ run : apt update && apt install dpkg-dev build-essential debhelper inkscape librsvg2-bin optipng -y
27+
28+ - name : Build debian package
29+ run : |
30+ dpkg-buildpackage --no-sign
31+ mv ../*.deb ../desktop-base.deb
32+
33+ - uses : softprops/action-gh-release@v1
34+ with :
35+ token : " ${{ secrets.GITHUB_TOKEN }}"
36+ tag_name : " continuous"
37+ prerelease : true
38+ name : " Continuous Build"
39+ files : |
40+ /__w/desktop-base/desktop-base.deb
You can’t perform that action at this time.
0 commit comments