Skip to content

Check Download Status #394

Check Download Status

Check Download Status #394

name: Check Download Status
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
check_status:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.check_download_status.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check Download Status
id: check_download_status
uses: luxtorpeda-dev/action-check-download-status@main
create_tickets:
runs-on: ubuntu-latest
if: ${{ needs.check_status.outputs.matrix && needs.check_status.outputs.matrix != '{}' && needs.check_status.outputs.matrix != '' }}
needs: check_status
strategy:
matrix: ${{fromJson(needs.check_status.outputs.matrix)}}
steps:
- name: Create Issue
uses: jayqi/failed-build-issue-action@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
label-name: ${{ matrix.game_name }} ${{ matrix.download_name }}
title-template: Download failed for ${{ matrix.game_name }} ${{ matrix.download_name }}
body-template: |
Download failed for ${{ matrix.game_name }} ${{ matrix.download_name }}
Response was ${{ matrix.download_status }}
App id of ${{ matrix.game_app_id }}