self hosted runner pipeline
parent
6daab9d8b3
commit
55102fb56d
|
|
@ -24,11 +24,6 @@ jobs:
|
|||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- uses: google-github-actions/setup-gcloud@v0
|
||||
with:
|
||||
version: '288.0.0'
|
||||
service_account_email: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_EMAIL }}
|
||||
service_account_key: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY }}
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
|
|
@ -37,17 +32,21 @@ jobs:
|
|||
###########################
|
||||
# Ephemeral Runner #
|
||||
###########################
|
||||
- name: Configure AWS Credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1
|
||||
with:
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
- name: Unity - Builder
|
||||
# You may pin to the exact commit or the version.
|
||||
# uses: game-ci/unity-builder@3d0eb0805bbe2df90e319abbe42e41d0b9105625
|
||||
uses: game-ci/unity-builder@cloud-runner-develop
|
||||
uses: ./
|
||||
with:
|
||||
cloudRunnerCluster: aws
|
||||
allowDirtyBuild: true
|
||||
cloudRunnerMemory: 4096
|
||||
cloudRunnerCpu: 2048
|
||||
gitPrivateToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
targetPlatform: StandaloneWindows64
|
||||
customJob: |
|
||||
- name: upload
|
||||
image: ubuntu
|
||||
|
|
|
|||
Loading…
Reference in New Issue