mirror of
https://github.com/niess/python-appimage.git
synced 2025-07-21 12:51:16 +02:00
37 lines
776 B
YAML
37 lines
776 B
YAML
name: AppImage
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
dry:
|
|
description: 'Dry run'
|
|
required: true
|
|
type: boolean
|
|
all:
|
|
description: 'Update all'
|
|
required: true
|
|
type: boolean
|
|
schedule:
|
|
- cron: '0 3 * * 0'
|
|
|
|
jobs:
|
|
Update:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Dependencies
|
|
run: pip install PyGithub requests
|
|
|
|
- name: Run updater
|
|
run: |
|
|
./scripts/update-appimages.py \
|
|
--token=${{ secrets.GITHUB_TOKEN }} \
|
|
--sha=${{ github.sha }} \
|
|
${{ inputs.all && '--all' || '' }} \
|
|
${{ inputs.dry && '--dry' || '' }}
|
|
env:
|
|
PYTHONPATH: ${{ github.workspace }}
|