-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (36 loc) · 1.14 KB
/
build-iso.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Build ISO
on: push
jobs:
build-iso:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Prepare base
run: |
sudo apt-get update
sudo apt-get -y install coreutils debootstrap debhelper debian-archive-keyring fonts-open-sans
- name: Install live-build
run: |
git clone https://salsa.debian.org/live-team/live-build.git
cd live-build
git checkout da16d81ed
patch scripts/build/installer_debian-installer < ../installer.patch
make && sudo make install
- name: Config
run: |
sudo lb clean
./prep.sh
- name: Build
run: |
sudo lb build
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d_%H:%M')"
- name: Rename release files
run: mv live-image-amd64.hybrid.iso FyshOS-amd64-${{ steps.date.outputs.date }}.hybrid.iso
- name: Upload
uses: softprops/action-gh-release@v1
with:
tag_name: testing
files: |
FyshOS-amd64-${{ steps.date.outputs.date }}.hybrid.iso