Skip to content

Issue and PR templates #3

Issue and PR templates

Issue and PR templates #3

Workflow file for this run

name: 'Build image'
on:
push:
branches:
- '**'
paths-ignore:
- '**.md'
pull_request:
branches:
- '**'
paths-ignore:
- '**.md'
defaults:
run:
shell: pwsh
jobs:
build-image:
name: 'Building'
strategy:
matrix:
system:
- windows-2022
runs-on: ${{ matrix.system }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get Hexa
run: |
git clone --depth 1 https://github.com/hexalang/Hexa.git ../Hexa
- name: Get Teapot
run: |
git clone --depth 1 https://github.com/GreenteaOS/Teapot.git ../Teapot
- name: Get assets
run: |
git clone --depth 1 https://github.com/GreenteaOS/Tofita.git ../Tofita
git clone --depth 1 https://github.com/GreenteaOS/Tongue.git ../Tongue
git clone --depth 1 https://github.com/GreenteaOS/Greentea.git ../Greentea
- name: Prepare Hexa
run: |
../Teapot/node-v18.1.0-win-x64/node --trace-uncaught ../Hexa/bootstrap.js ../Hexa/hexa.json
../Teapot/node-v18.1.0-win-x64/node --trace-uncaught ../Hexa/hexa-node.js ../Hexa/hexa.json
../Teapot/node-v18.1.0-win-x64/node --trace-uncaught ../Hexa/hexa-node.js ../Hexa/hexa.json
- name: Build Tofita
run: |
cd ../Tofita
$env:Path += ";.\..\Hexa"
$ErrorActionPreference = 'SilentlyContinue'
cmd.exe /c 'build.bat'
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: njraa-iso-${{ github.sha }}
path: C:\Tea\greenteaos-uefi64.iso