diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..7affa8a --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,24 @@ +--- +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