self hosted runner pipeline
parent
6e877cbc01
commit
0727a97fdd
|
|
@ -19,6 +19,10 @@ jobs:
|
||||||
boot-self-hosted-runner:
|
boot-self-hosted-runner:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
lfs: false
|
||||||
|
fetch-depth: 0
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
with:
|
with:
|
||||||
|
|
@ -28,9 +32,6 @@ jobs:
|
||||||
- name: Unity - Builder
|
- name: Unity - Builder
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.ref }}
|
|
||||||
GITHUB_SHA: ${{ github.sha }}
|
|
||||||
GITHUB_REPOSITORY: ${{ github.repositoryUrl }}
|
|
||||||
cloudRunnerCluster: aws
|
cloudRunnerCluster: aws
|
||||||
allowDirtyBuild: true
|
allowDirtyBuild: true
|
||||||
cloudRunnerMemory: 4096
|
cloudRunnerMemory: 4096
|
||||||
|
|
@ -57,6 +58,10 @@ jobs:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
needs: boot-self-hosted-runner
|
needs: boot-self-hosted-runner
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
lfs: false
|
||||||
|
fetch-depth: 0
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
with:
|
with:
|
||||||
|
|
@ -69,9 +74,6 @@ jobs:
|
||||||
# uses: game-ci/unity-builder@3d0eb0805bbe2df90e319abbe42e41d0b9105625
|
# uses: game-ci/unity-builder@3d0eb0805bbe2df90e319abbe42e41d0b9105625
|
||||||
uses: game-ci/unity-builder@cloud-runner-develop
|
uses: game-ci/unity-builder@cloud-runner-develop
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.ref }}
|
|
||||||
GITHUB_SHA: ${{ github.sha }}
|
|
||||||
GITHUB_REPOSITORY: ${{ github.repositoryUrl }}
|
|
||||||
cloudRunnerCluster: aws
|
cloudRunnerCluster: aws
|
||||||
allowDirtyBuild: true
|
allowDirtyBuild: true
|
||||||
cloudRunnerMemory: 8192
|
cloudRunnerMemory: 8192
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue