termux-packages/.github/workflows/repository_cleanup.yml
Leonid Pliushch 41c529fd8c Revert "CI: switch to Ubuntu 20.04 and don't use Docker image as build environment"
This reverts commit eaeb2e609e075adea6c3d783a258996517a83ac5.
2020-07-01 20:27:59 +03:00

21 lines
512 B
YAML

name: APT repository cleanup
on:
schedule:
- cron: '0 2 * * *'
jobs:
repo-maintenance:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Delete old versions
env:
BINTRAY_USERNAME: xeffyr
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
BINTRAY_GPG_SUBJECT: termux
BINTRAY_GPG_PASSPHRASE: ${{ secrets.BINTRAY_GPG_PASSWORD }}
run: |
./scripts/package_uploader.sh -c $(cd ./packages; echo *)