Update settings.json #6
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 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/NjRAA.git ../NjRAA | |
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: greentea-uefi64-image-${{ github.sha }} | |
path: C:\Tea\greenteaos-uefi64.iso |