Update build_iso.yml #44
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
on: push | |
name: build iso | |
defaults: | |
run: | |
shell: bash | |
working-directory: . | |
jobs: | |
build_iso: | |
name: Build weeedebian ISO | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y mmdebstrap squashfs-tools dosfstools xorriso isolinux syslinux-efi grub-pc-bin grub-efi-amd64-bin mtools debian-archive-keyring isolinux syslinux | |
- name: Set T.A.R.A.L.L.O. Token | |
uses: "DamianReeves/write-file-action@master" | |
with: | |
path: ./.env | |
write-mode: append | |
contents: | | |
export TARALLO_URL="${{ secrets.TARALLO_URL }}" | |
export TARALLO_TOKEN="${{ secrets.TARALLO_TOKEN }}" | |
export PERACOTTA_REPORT_URL="${{ secrets.PERACOTTA_REPORT_URL }}" | |
export PERACOTTA_AUTOMATIC_REPORT_ERRORS="true" | |
- name: Dotenv Action | |
uses: falti/[email protected] | |
id: dotenv | |
with: | |
export-variables: true | |
- name: build amd64 | |
env: | |
MISO_ARCH: amd64 | |
run: sudo ./miso.sh | |
shell: bash | |
# i386 CI is disabled because I couldn't get QT (either 5 or 6)to work on a modern 32bit release of debian | |
#- name: build i386 | |
# env: | |
# MISO_ARCH: i386 | |
# run: ./miso.sh | |
# shell: bash | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "./build/*/*.iso" | |
allowUpdates: true | |
prerelease: true | |
draft: true | |
tag: v${{ steps.dotenv.outputs.version }} | |
body: | | |
> [!CAUTION] | |
> Do NOT publish this draft. | |
> It is only to be used internally as the T.A.R.A.L.L.O. secret token is visible in the built iso. |