Browse Source
Expected to be automatically started at 02:00 every day. Will go through all packages and remove versions that are no longer needed. Experimental, may cause metadata inconsistency until process is finished.build-on-device
1 changed files with 20 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||
name: APT repository cleanup |
|||
|
|||
on: |
|||
schedule: |
|||
- cron: '0 2 * * *' |
|||
|
|||
jobs: |
|||
build: |
|||
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 *) |
Loading…
Reference in new issue