2020-02-04 13:47:20 +01:00
|
|
|
name: APT repository cleanup
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 2 * * *'
|
|
|
|
|
|
|
|
jobs:
|
2020-02-06 20:10:23 +01:00
|
|
|
repo-maintenance:
|
2020-07-01 19:27:59 +02:00
|
|
|
runs-on: ubuntu-latest
|
2020-02-04 13:47:20 +01:00
|
|
|
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 *)
|