fix: build dir
parent
006899a310
commit
f23acd81c1
|
|
@ -69,26 +69,18 @@ jobs:
|
||||||
aws-region: eu-west-2
|
aws-region: eu-west-2
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn run cli --help
|
- run: yarn run cli --help
|
||||||
- run: yarn run test-i --detectOpenHandles --forceExit --runInBand
|
|
||||||
env:
|
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
TARGET_PLATFORM: ${{ matrix.targetPlatform }}
|
|
||||||
cloudRunnerTests: true
|
|
||||||
versioning: None
|
|
||||||
CLOUD_RUNNER_CLUSTER: ${{ matrix.cloudRunnerCluster }}
|
|
||||||
- uses: ./
|
- uses: ./
|
||||||
id: unity-build
|
id: unity-build
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
|
env:
|
||||||
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
with:
|
with:
|
||||||
cloudRunnerTests: true
|
cloudRunnerTests: true
|
||||||
versioning: None
|
versioning: None
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
projectPath: ${{ matrix.projectPath }}
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
gitPrivateToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
targetPlatform: ${{ matrix.targetPlatform }}
|
||||||
TARGET_PLATFORM: ${{ matrix.targetPlatform }}
|
cloudRunnerCluster: ${{ matrix.cloudRunnerCluster }}
|
||||||
CLOUD_RUNNER_CLUSTER: ${{ matrix.cloudRunnerCluster }}
|
|
||||||
customStepFiles: aws-s3-upload-build,aws-s3-pull-cache,aws-s3-upload-cache
|
customStepFiles: aws-s3-upload-build,aws-s3-pull-cache,aws-s3-upload-cache
|
||||||
- run: |
|
- run: |
|
||||||
aws s3 cp s3://game-ci-test-storage/cloud-runner-cache/${{ steps.unity-build.outputs.CACHE_KEY }}/build/build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4 build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4
|
aws s3 cp s3://game-ci-test-storage/cloud-runner-cache/${{ steps.unity-build.outputs.CACHE_KEY }}/build/build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4 build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4
|
||||||
|
|
@ -103,6 +95,15 @@ jobs:
|
||||||
name: AWS Build (${{ matrix.targetPlatform }})
|
name: AWS Build (${{ matrix.targetPlatform }})
|
||||||
path: build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4
|
path: build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4
|
||||||
retention-days: 14
|
retention-days: 14
|
||||||
|
- run: yarn run test-i --detectOpenHandles --forceExit --runInBand
|
||||||
|
env:
|
||||||
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
|
PROJECT_PATH: ${{ matrix.projectPath }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
TARGET_PLATFORM: ${{ matrix.targetPlatform }}
|
||||||
|
cloudRunnerTests: true
|
||||||
|
versioning: None
|
||||||
|
CLOUD_RUNNER_CLUSTER: ${{ matrix.cloudRunnerCluster }}
|
||||||
###########################
|
###########################
|
||||||
# Upload #
|
# Upload #
|
||||||
###########################
|
###########################
|
||||||
|
|
@ -174,14 +175,15 @@ jobs:
|
||||||
- uses: ./
|
- uses: ./
|
||||||
id: unity-build
|
id: unity-build
|
||||||
timeout-minutes: 25
|
timeout-minutes: 25
|
||||||
|
env:
|
||||||
|
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||||
with:
|
with:
|
||||||
cloudRunnerTests: true
|
cloudRunnerTests: true
|
||||||
versioning: None
|
versioning: None
|
||||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
projectPath: ${{ matrix.projectPath }}
|
||||||
PROJECT_PATH: ${{ matrix.projectPath }}
|
gitPrivateToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
targetPlatform: ${{ matrix.targetPlatform }}
|
||||||
TARGET_PLATFORM: ${{ matrix.targetPlatform }}
|
cloudRunnerCluster: ${{ matrix.cloudRunnerCluster }}
|
||||||
CLOUD_RUNNER_CLUSTER: ${{ matrix.cloudRunnerCluster }}
|
|
||||||
customStepFiles: aws-s3-upload-build,aws-s3-pull-cache,aws-s3-upload-cache
|
customStepFiles: aws-s3-upload-build,aws-s3-pull-cache,aws-s3-upload-cache
|
||||||
- run: |
|
- run: |
|
||||||
aws s3 cp s3://game-ci-test-storage/cloud-runner-cache/${{ steps.unity-build.outputs.CACHE_KEY }}/build/build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4 build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4
|
aws s3 cp s3://game-ci-test-storage/cloud-runner-cache/${{ steps.unity-build.outputs.CACHE_KEY }}/build/build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4 build-${{ steps.unity-build.outputs.BUILD_GUID }}.tar.lz4
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue