Skip to content

Containes test 2

Containes test 2 #7

name: Containes test 2
on:
workflow_dispatch:
inputs:
cleanup:
default: false
description: Whether to run clean-up job
required: false
type: boolean
env:
CLEANUP: ${{ github.event.inputs.cleanup || false }}
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: test
if: env.CLEANUP !== "false"

Check failure on line 19 in .github/workflows/conditions_test.yml

View workflow run for this annotation

GitHub Actions / Containes test 2

Invalid workflow file

The workflow is not valid. .github/workflows/conditions_test.yml (Line: 19, Col: 13): Unexpected symbol: '='. Located at position 15 within expression: env.CLEANUP !== "false"
env:
TEST: ${{ env.CLEANUP }}
TEST2: ${{ github.event.inputs.cleanup}}
run: |
echo A
echo "$TEST"
echo "$TEST2"