Skip to content

Refactor: Separate Rust client into standalone npm package #73

Refactor: Separate Rust client into standalone npm package

Refactor: Separate Rust client into standalone npm package #73

name: Create ephemeral self hosted EC2 runner

Check failure on line 1 in .github/workflows/create-ephemeral-self-hosted-runner.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/create-ephemeral-self-hosted-runner.yml

Invalid workflow file

`workflow_job` is not a valid event name
on:
workflow_job:
types: [queued]
jobs:
create-ephemeral-self-hosted-runner:
runs-on: ubuntu-latest
if: |
contains(join(fromJSON(toJSON(github.event.workflow_job.labels)), ','), 'self-hosted') &&
contains(join(fromJSON(toJSON(github.event.workflow_job.labels)), ','), 'linux') &&
contains(join(fromJSON(toJSON(github.event.workflow_job.labels)), ','), 'ARM64')
steps:
- name: Set up AWS CLI
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ secrets.ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}
- name: Print comfirmation
run: echo Role assumed