Skip to content

Implement build-and-test Github Actions CI using AWS spot instances #36

Implement build-and-test Github Actions CI using AWS spot instances

Implement build-and-test Github Actions CI using AWS spot instances #36

name: Build And Test (x86-64)
on: [push, pull_request]
jobs:
generate-runner-id:
runs-on: ubuntu-latest
steps:
- name: Generate runner ID
run: |
RUNNER_ID=rr_runner_$(uuidgen|tr -d -)
echo "RUNNER_ID :: $RUNNER_ID"
echo "RUNNER_ID=$RUNNER_ID" >> $GIHUB_ENV
outputs:
RUNNER_ID: ${{ env.RUNNER_ID }}
build-and-test-x86-64:
uses: ./.github/workflows/build-and-test.yml
with:
architecture: x86_64
runner_id: ${{ env.RUNNER_ID }}

Check failure on line 21 in .github/workflows/build-and-test-x86_64.yml

View workflow run for this annotation

GitHub Actions / Build And Test (x86-64)

Invalid workflow file

The workflow is not valid. .github/workflows/build-and-test-x86_64.yml (Line: 21, Col: 18): Unrecognized named-value: 'env'. Located at position 1 within expression: env.RUNNER_ID