Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
a-masterov authored Dec 13, 2024
1 parent 865a93f commit 870f97b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@ name: Build

on:
workflow_call:
inputs:
build-type:
description: 'build type'
type: string
required: true
defaults:
run:
shell: bash -euxo pipefail {0}


jobs:

build:
Expand All @@ -18,7 +24,9 @@ jobs:
id: uselfc
run: echo value=${{ matrix.state == 'lfc' && true || false }} >> $GITHUB_OUTPUT
- name: echolfc
run: echo ${{ steps.uselfc.outputs.value }}
run: |
echo ${{ steps.uselfc.outputs.value }}
echo ${{inputs.build-type}}
- name: say
continue-on-error: ${{ matrix.state == 'lfc' }}
run: echo ${{ matrix.state }}; [ ${{ matrix.state }} != "lfc" ]

0 comments on commit 870f97b

Please sign in to comment.