Skip to content

Commit

Permalink
Test conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackburn29 committed Dec 29, 2023
1 parent b3e90db commit d193c2f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/update_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
- cron: '0 0 * * *'
workflow_dispatch:

env:
SCRIPT_OUTPUT: ''

jobs:
check_jb_ides:
name: Check for latest versions of IntelliJ IDEs
Expand All @@ -13,9 +16,12 @@ jobs:
- name: Check for latest version against API
run: |
echo "UPDATE_OUTPUT=$(bash ${GITHUB_WORKSPACE}/.github/scripts/check_all_jb_ides.sh)" >> $GITHUB_ENV
outputs:
SCRIPT_OUTPUT: ${{ env.UPDATE_OUTPUT }}

create_issue:
runs-on: ubuntu-latest
if: ${{env.UPDATE_OUTPUT != ''}}
if: ${{needs.get-env.SCRIPT_OUTPUT != ''}}
steps:
- uses: actions/checkout@v1
- uses: JasonEtco/create-an-issue@v2
Expand Down

0 comments on commit d193c2f

Please sign in to comment.