set up license for every unity invocation
ci/woodpecker/push/woodpecker Pipeline is pending Details
ci/woodpecker/tag/woodpecker Pipeline failed Details

This commit is contained in:
Branden J Brown 2023-07-17 11:49:19 -05:00
parent 3c31c751f2
commit 5793bb04a3
1 changed files with 4 additions and 4 deletions

View File

@ -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: