Add market-type
to you config.
- name: Start EC2 runner
id: start-ec2-runner
uses: machulav/ec2-github-runner@v2
with:
mode: start
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
ec2-image-id: ${{ env.ARM_EC2_IMAGE_ID }}
ec2-instance-type: c7g.4xlarge
subnet-id: ...
security-group-id: ...
market-type: spot