mirror of https://github.com/cutefishos/wallpapers
Update build file.
parent
9acd305776
commit
09966ea063
@ -0,0 +1,52 @@
|
|||||||
|
name: Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Ubuntu:
|
||||||
|
name: Ubuntu latest build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions: write-all
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Source
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Add Simple Linux DE repository
|
||||||
|
run : |
|
||||||
|
sudo mkdir -p /etc/apt/sources.list.d
|
||||||
|
sudo bash -c "echo 'deb [trusted=yes] https://gitcode.net/simple-linux-de/debserver/-/raw/master unstable main contrib non-free' > /etc/apt/sources.list.d/simplelinux.list"
|
||||||
|
|
||||||
|
- name: Update repository
|
||||||
|
run: sudo apt update -y
|
||||||
|
|
||||||
|
- name: Install the basic dev packages
|
||||||
|
|
||||||
|
run: sudo apt install -y equivs curl git devscripts lintian build-essential automake autotools-dev cmake g++ cutefish-core cutefish-kwin-plugins cutefish-qt-plugins fishui libcutefish
|
||||||
|
|
||||||
|
- name: Install build dependencies
|
||||||
|
run: sudo mk-build-deps -i -t "apt-get --yes" -r
|
||||||
|
|
||||||
|
- name: Build Package
|
||||||
|
run: sudo dpkg-buildpackage -b -uc -us -nc -tc -j$(nproc)
|
||||||
|
|
||||||
|
- name: Get current date
|
||||||
|
id: date
|
||||||
|
run: echo "::set-output name=today::$(date +'%Y-%m-%d-%s')"
|
||||||
|
|
||||||
|
- name: Upload build
|
||||||
|
uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
|
with:
|
||||||
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
automatic_release_tag: "autobuild"
|
||||||
|
prerelease: true
|
||||||
|
title: "Development Build ${{ steps.date.outputs.today }}"
|
||||||
|
files: |
|
||||||
|
../**/*.deb
|
||||||
|
../**/*.ddeb
|
||||||
|
../**/*.buildinfo
|
||||||
|
../**/*.changes
|
||||||
@ -1,3 +1,3 @@
|
|||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
Upstream-Name: cutefish-wallpapers
|
Upstream-Name: cutefish-wallpapers
|
||||||
Source: cutefishos.com
|
Source: https://github.com/Simple-Linux-DE
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 833 KiB After Width: | Height: | Size: 311 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 374 KiB After Width: | Height: | Size: 833 KiB |
Loading…
Reference in New Issue