Skip to content

Add GitHub Actions

Add GitHub Actions #1

Workflow file for this run

---
name: Compile Doomfire
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Compile
run: make wasm
- name: Upload Artefact
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
html/main.wasm