diff --git a/.woodpecker.yml b/.woodpecker.yml index e39f924..673b477 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,17 +5,18 @@ workspace: # We use a singleton "matrix" to set variables, because formal variables are a # Woodpecker next feature. matrix: - BUILD_NAME: [idle-survivors] - UNITY_ACTIVATION_FILE: [./unity3d.alf] - IMAGE: [unityci/editor] - IMAGE_VERSION: [1] - # The GitLab version pulls the Unity version from the project information, - # but I don't think Woodpecker will use that as a variable in image names. - # We set the version as a variable instead and check that it's right. - UNITY_VERSION: [2022.3.4f1] - UNITY_DIR: [/studio/idle-survivors] - VERSION_NUMBER_VAR: [${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER}] - VERSION_BUILD_VAR: [${CI_COMMIT_HASH}] + include: + - BUILD_NAME: idle-survivors + UNITY_ACTIVATION_FILE: ./unity3d.alf + IMAGE: unityci/editor + IMAGE_VERSION: 1 + # The GitLab version pulls the Unity version from the project information, + # but I don't think Woodpecker will use that as a variable in image names. + # We set the version as a variable instead and check that it's right. + UNITY_VERSION: 2022.3.4f1 + UNITY_DIR: /studio/idle-survivors + VERSION_NUMBER_VAR: ${CI_COMMIT_BRANCH}-${CI_BUILD_NUMBER} + VERSION_BUILD_VAR: ${CI_COMMIT_HASH} pipeline: check-unity-version: