Skip to content

Commit

Permalink
further try getting the input stuff running
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioseel committed Oct 16, 2024
1 parent bf6ed57 commit 2cdbf18
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/container_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,29 @@ jobs:
- name: Determine trigger type and set input
id: setup
run: |
if [[ "${{ github.event.inputs.deploy }}" != "" ]]; then
echo "deploy=${{ github.event.inputs.deploy }}" >> $GITHUB_OUTPUT
if [[ "${{ inputs.deploy }}" != "" ]]; then
echo "deploy=${{ inputs.deploy }}" >> $GITHUB_OUTPUT
else
echo "deploy=false" >> $GITHUB_OUTPUT
fi
- name: Test input
run: |
if ${{ steps.setup.outputs.deploy }}"; then
if ${{ steps.setup.outputs.deploy }}; then
echo "yes"
else
echo "no"
fi
- name: Test input again
- name: Test input TRUE
if: steps.setup.outputs.deploy
run:
echo "yes"

- name: Test input FALSE
if: ! steps.setup.outputs.deploy
run:
echo "no"

# - name: Build Singularity container
# run: apptainer build retinal-rl.sif resources/retinal-rl.def
Expand Down

0 comments on commit 2cdbf18

Please sign in to comment.