Skip to content

change back

change back #22

Workflow file for this run

name: On Pull Request Run Compile
on:
push:
branches:
- main
pull_request:
jobs:
compile_sdf:
runs-on: ubuntu-latest
name: Run sdf compile
steps:
- name: Checkout
uses: actions/checkout@v4
- name: sdf compile step
uses: sdf-labs/sdf-action@v0 # Uses an action in the root directory
id: sdf
with:
command: 'sdf compile'
workspace_dir: '.'
# Use the output from the `sdf` step
- name: Display the sdf output
if: always()
run: |
echo "### SDF Compile Logs 🪵" >> $GITHUB_STEP_SUMMARY
echo '```' >>$GITHUB_STEP_SUMMARY
echo "${{ steps.sdf.outputs.log }}" >>$GITHUB_STEP_SUMMARY
echo '```' >>$GITHUB_STEP_SUMMARY