Skip to content

fix blink compilation in cloud #11

fix blink compilation in cloud

fix blink compilation in cloud #11

# name of the job
name: Compile function
# specify which paths to watch for changes
on:
push:
paths:
- 'src/function/*'
- 'LoggerCore/src/*'
- .github/workflows/compile.yaml
- .github/workflows/compile-function.yaml
# run compile via the compile.yaml
jobs:
compile:
strategy:
fail-fast: false
matrix:
# CHANGE program/lib/aux as needed
program:
- src: 'function'
lib: ''
aux: 'LoggerCore/src/LoggerFunction* LoggerCore/src/LoggerModule*'
# CHANGE platforms as needed
platform:
- {name: 'p2', version: '6.3.2'}
# program name
name: ${{ matrix.program.src }}-${{ matrix.platform.name }}-${{ matrix.platform.version }}
# workflow call
uses: ./.github/workflows/compile.yaml

Check failure on line 32 in .github/workflows/compile-function.yaml

View workflow run for this annotation

GitHub Actions / Compile function

Invalid workflow file

The workflow is not valid. .github/workflows/compile-function.yaml (Line: 32, Col: 11): Input program is required, but not provided while calling.
secrets: inherit
with:
platform: ${{ matrix.platform.name }}
version: ${{ matrix.platform.version }}
src: ${{ matrix.program.src }}
lib: ${{ matrix.program.lib }}
aux: ${{ matrix.program.aux }}