Skip to content

Vanillatmosphere build #9836

Vanillatmosphere build

Vanillatmosphere build #9836

Workflow file for this run

name: Vanillatmosphere build
on:
schedule:
- cron: '*/120 * * * *'
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: check
uses: actions/checkout@v3
- name: install python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: install requirements
run: pip install -r requirement.txt
- name: execute script
run: python download.py
- name: copy configs
run: cp -r configs/* artifact/
- name: edit boot.ini
run: |
find artifact/ -name 'hekate_ctcaer_*.bin' -exec basename {} \; |
xargs -I{} sed -i 's/<payload>/{}/g' artifact/boot.ini
- name: prepare payload
run: |
find artifact/ -name 'hekate_ctcaer_*.bin' -exec basename {} \; |
xargs -I{} cp artifact/{} scripts/payload.bin
- name: build boot.dat
run: python scripts/tx_custom_boot.py scripts/payload.bin artifact/boot.dat
- name: delete shits
run: rm -rf artifact/switch/.overlays
- name: duplicate
run: cp -r artifact/ artifact-legacy/
- name: remove sys-patch
run: rm -rf artifact-legacy/atmosphere/contents/420000000000000B/ artifact-legacy/config/
- name: edit boot entry
run: sed -i 's/^\s*;\(.*\)$/\1/' artifact-legacy/bootloader/hekate_ipl.ini
- name: download sigpatches
run: wget https://sigmapatches.su/sigpatches.zip
- name: extract sigpatches
run: unzip sigpatches.zip -d artifact-legacy/
- name: upload artifact
uses: actions/upload-artifact@v3
with:
name: artifact-syspatches
path: artifact
- name: upload artifact
uses: actions/upload-artifact@v3
with:
name: artifact-sigpatches
path: artifact-legacy