3d3868cf60
Note that ubuntu-20.04 is preview currently, as stated in https://help.github.com/en/actions/reference/virtual-environments-for-github-hosted-runners.
21 lines
511 B
YAML
21 lines
511 B
YAML
name: APT repository cleanup
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 2 * * *'
|
|
|
|
jobs:
|
|
repo-maintenance:
|
|
runs-on: ubuntu-20.04
|
|
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 *)
|