POMNI WAKE UP TIME TO GO ON AN ADVENTURE #67
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: Deno | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v3 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: vx.x.x | |
- name: Compile LLM Bot (Windows) | |
run: deno compile --no-check --allow-all --unstable --target x86_64-pc-windows-msvc --output compiled/llm-bot.exe main.ts | |
- name: Compile LLM Bot (Linux, x86) | |
run: deno compile --no-check --allow-all --unstable --target x86_64-unknown-linux-gnu --output compiled/llm-bot.x86_64 main.ts | |
- name: Upload LLM Bot Artifact (Windows) | |
uses: actions/[email protected] | |
with: | |
name: llm-bot-windows | |
path: compiled/llm-bot.exe | |
- name: Upload LLM Bot Artifact (Linux) | |
uses: actions/[email protected] | |
with: | |
name: llm-bot-linux | |
path: compiled/llm-bot.x86_64 |