Update build.yml

This commit is contained in:
Jon Eugster
2023-04-28 15:38:27 +02:00
committed by GitHub
parent 350dbd13f5
commit 06473013bd

View File

@@ -1,6 +1,10 @@
name: Build
run-name: Build the game
on: [push]
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
@@ -19,3 +23,6 @@ jobs:
- name: build game
run: env LEAN_ABORT_ON_PANIC=1 lake build
- name: Build the Docker image
run: docker build . --file Dockerfile --tag nng:$(date +%s)