From 5793bb04a3131b01726b96757159d6715a41289a Mon Sep 17 00:00:00 2001 From: Branden J Brown Date: Mon, 17 Jul 2023 11:49:19 -0500 Subject: [PATCH] set up license for every unity invocation --- .woodpecker.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 08b923d..8433614 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -23,7 +23,7 @@ pipeline: - test "$UNITY_VERSION" = $(grep "m_EditorVersion:" "${UNITY_DIR}/ProjectSettings/ProjectVersion.txt" | cut -d' ' -f2) setup-license: image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION} - commands: &license + commands: - chmod +x ${UNITY_DIR}/ci/before_script.sh - ${UNITY_DIR}/ci/before_script.sh secrets: [unity_license] @@ -31,7 +31,7 @@ pipeline: image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION} group: test commands: - - <<: *license + - ${UNITY_DIR}/ci/before_script.sh - chmod +x ${UNITY_DIR}/ci/test.sh - ${UNITY_DIR}/ci/test.sh environment: @@ -44,7 +44,7 @@ pipeline: image: ${IMAGE}:${UNITY_VERSION}-base-${IMAGE_VERSION} group: test commands: - - <<: *license + - ${UNITY_DIR}/ci/before_script.sh - chmod +x ${UNITY_DIR}/ci/test.sh - ${UNITY_DIR}/ci/test.sh environment: @@ -57,7 +57,7 @@ pipeline: image: ${IMAGE}:${UNITY_VERSION}-windows-mono-${IMAGE_VERSION} group: build commands: - - <<: *license + - ${UNITY_DIR}/ci/before_script.sh - chmod +x ./ci/build.sh - ./ci/build.sh environment: