Add games to our ISO #39
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 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 | |