Check for Rider updates #697
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check for Rider updates | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| env: | |
| SCRIPT_OUTPUT: '' | |
| jobs: | |
| check_jb_ides: | |
| name: Check for latest versions of IntelliJ IDEs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - 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: ${{needs.get-env.SCRIPT_OUTPUT != ''}} | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: JasonEtco/create-an-issue@v2 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| filename: .github/ISSUE_TEMPLATE/version_update.md | |
| update_existing: true |