Skip to content

Commit

Permalink
Scheduled download check (#1015)
Browse files Browse the repository at this point in the history
* Add check_download_status

* Check download status workflow
  • Loading branch information
d10sfan authored Nov 9, 2023
1 parent b6617b2 commit f785a3b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/check_download_status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check Download Status

on:
workflow_dispatch:

jobs:
check_status:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.check_download_status.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check Download Status
id: check_download_status
uses: luxtorpeda-dev/action-check-download-status@v11
with:
token: ${{ secrets.GITHUB_TOKEN }}
create_tickets:
runs-on: ubuntu-latest
needs: check_status
strategy:
matrix: ${{fromJson(needs.check_status.outputs.matrix)}}
steps:
- name: Test
run: echo ${{ matrix.download_name }} ${{ matrix.download_status }}
6 changes: 4 additions & 2 deletions metadata/packagessniper_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3253,7 +3253,8 @@
{
"name": "binaries",
"url": "http://icculus.org/prey/downloads/",
"file": "prey-installer-02192009.bin"
"file": "prey-installer-02192009.bin",
"check_download_status": true
},
{
"name": "prey2006",
Expand Down Expand Up @@ -7287,7 +7288,8 @@
{
"name": "runescape-binaries",
"url": "https://content.runescape.com/downloads/ubuntu/pool/non-free/r/runescape-launcher/",
"file": "runescape-launcher_2.2.11_amd64.deb"
"file": "runescape-launcher_2.2.11_amd64.deb",
"check_download_status": true
},
{
"name": "runescape",
Expand Down

0 comments on commit f785a3b

Please sign in to comment.