self hosted runner pipeline

pull/387/head
Frostebite 2022-04-17 01:53:00 +01:00
parent 6daab9d8b3
commit 55102fb56d
1 changed files with 6 additions and 7 deletions

View File

@ -24,11 +24,6 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: 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 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
@ -37,17 +32,21 @@ jobs:
########################### ###########################
# Ephemeral Runner # # 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 - name: Unity - Builder
# You may pin to the exact commit or the version. # You may pin to the exact commit or the version.
# uses: game-ci/unity-builder@3d0eb0805bbe2df90e319abbe42e41d0b9105625 # uses: game-ci/unity-builder@3d0eb0805bbe2df90e319abbe42e41d0b9105625
uses: game-ci/unity-builder@cloud-runner-develop uses: ./
with: with:
cloudRunnerCluster: aws cloudRunnerCluster: aws
allowDirtyBuild: true allowDirtyBuild: true
cloudRunnerMemory: 4096 cloudRunnerMemory: 4096
cloudRunnerCpu: 2048 cloudRunnerCpu: 2048
gitPrivateToken: ${{ secrets.GITHUB_TOKEN }} gitPrivateToken: ${{ secrets.GITHUB_TOKEN }}
targetPlatform: StandaloneWindows64
customJob: | customJob: |
- name: upload - name: upload
image: ubuntu image: ubuntu