appimage.yml 833 B

1234567891011121314151617181920212223242526272829303132333435363738
  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: |
  24. sudo apt install -y desktop-file-utils
  25. pip install PyGithub requests
  26. - name: Run updater
  27. run: |
  28. ./scripts/update-appimages.py \
  29. --token=${{ secrets.GITHUB_TOKEN }} \
  30. --sha=${{ github.sha }} \
  31. ${{ inputs.all && '--all' || '' }} \
  32. ${{ inputs.dry && '--dry' || '' }}
  33. env:
  34. PYTHONPATH: ${{ github.workspace }}