1
0

appimage.yml 767 B

123456789101112131415161718192021222324252627282930313233343536
  1. name: AppImage
  2. on:
  3. workflow_dispatch:
  4. inputs:
  5. dry:
  6. description: 'Dry run'
  7. required: true
  8. type: boolean
  9. all:
  10. description: 'Update all'
  11. required: true
  12. type: boolean
  13. schedule:
  14. - cron: '0 3 * * 0'
  15. jobs:
  16. Update:
  17. runs-on: ubuntu-latest
  18. permissions:
  19. contents: write
  20. steps:
  21. - uses: actions/checkout@v4
  22. - name: Install Dependencies
  23. run: pip install PyGithub
  24. - name: Run updater
  25. run: |
  26. ./scripts/update-appimages.py \
  27. --token=${{ secrets.GITHUB_TOKEN }} \
  28. --sha=${{ github.sha }} \
  29. ${{ inputs.all && '--all' || '' }} \
  30. ${{ inputs.dry && '--dry' || '' }}
  31. env:
  32. PYTHONPATH: ${{ github.workspace }}