Skip to content

don’t use tool_cache in env vars #7

don’t use tool_cache in env vars

don’t use tool_cache in env vars #7

Workflow file for this run

name: Passenger generic binaries tests CI tests
env:
ENTERPRISE: 0
on:
push:
branches: [ 'stable-*', 'feature/*' ]
pull_request:
branches: [ 'stable-*', 'feature/*' ]
jobs:
build:
name: "Binary automation ${{ matrix.os.family }}-${{ matrix.arch }}"
strategy:
fail-fast: false
matrix:
os:
- img: macos-latest
family: macos
- img: ubuntu-latest
family: linux
arch:
- x86_64
- aarch64
runs-on: ${{ matrix.os.img }}
env:
WORKSPACE: ${{ github.workspace }}
OUTPUT_DIR: ${{ github.workspace }}/output-${{ matrix.os.family }}-${{ matrix.arch }}
ARCHITECTURE: ${{ matrix.arch }}
CACHE_DIR: ${{ runner.workspace }}/cache/${{ matrix.os.family }}-${{ matrix.arch }}/executor-${{ github.run_id }}

Check failure on line 31 in .github/workflows/binaries.yml

View workflow run for this annotation

GitHub Actions / Passenger generic binaries tests CI tests

Invalid workflow file

The workflow is not valid. .github/workflows/binaries.yml (Line: 31, Col: 18): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.workspace .github/workflows/binaries.yml (Line: 32, Col: 20): Unrecognized named-value: 'runner'. Located at position 1 within expression: runner.workspace
RUNTIME_DIR: ${{ runner.workspace }}/cache/${{ matrix.os.family }}-${{ matrix.arch }}/executor-${{ github.run_id }}/runtime
steps:
- uses: actions/checkout@v4
with:
submodules: true
- run: echo "$WORKSPACE"
- run: ./dev/ci/tests/binaries/prepare-macos
if: matrix.os.family == 'macos'
- run: ./dev/ci/tests/binaries/build-${{ matrix.os.family }}
- uses: actions/upload-artifact@v4
with:
name: binaries-${{ matrix.os.family }}-${{ matrix.arch }}
path: 'output-${{ matrix.os.family }}-${{ matrix.arch }}/**/*'
- run: ./dev/ci/tests/binaries/test-${{ matrix.os.family }}