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: