Skip to content

Commit

Permalink
Try to use self-hosted runner for ARM Linux builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanl-bq committed Jun 26, 2024
1 parent ddf4538 commit efda7c9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,25 @@ concurrency:
cancel-in-progress: true

jobs:
start-self-hosted-runner:
if: github.repository_owner == 'aws'
runs-on: ubuntu-latest
environment: AWS_ACTIONS
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Start self hosted EC2 runner
uses: ./.github/workflows/start-self-hosted-runner
with:
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}
ec2-instance-id: ${{ secrets.AWS_EC2_INSTANCE_ID }}

build-and-test-java-client:
needs: start-self-hosted-runner
timeout-minutes: 35
strategy:
# Run all jobs
Expand Down

0 comments on commit efda7c9

Please sign in to comment.