Files

33 lines
939 B
YAML

# Builds and verifies the image for every supported Project Zomboid version.
# Requires a runner with a Docker (or Podman) CLI and access to its daemon.
name: ci
on:
push:
pull_request:
jobs:
image:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
# One entry per supported version; add older Steam version branches
# (e.g. pz_version 42.19, steam_branch 42.19) to keep them building.
- pz_version: "42"
steam_branch: public
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
# release.sh derives the version from the v* tags
fetch-depth: 0
- name: Build and verify
env:
IMAGE: zomboidforge-ci
PZ_VERSION: ${{ matrix.pz_version }}
PZ_BRANCH: ${{ matrix.steam_branch }}
PUBLISH: "false"
run: ci/release.sh