2021-06-13 21:21:41 +02:00
|
|
|
name: Package updates
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 */6 * * *'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
update-packages:
|
2021-10-31 06:02:16 +01:00
|
|
|
if: github.repository == 'termux/termux-packages'
|
2021-06-13 21:21:41 +02:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Clone repository
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2022-01-31 18:47:26 +01:00
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
2021-06-13 21:21:41 +02:00
|
|
|
- name: Process package updates
|
|
|
|
env:
|
2022-01-31 18:47:26 +01:00
|
|
|
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2021-06-13 21:21:41 +02:00
|
|
|
BUILD_PACKAGES: "true"
|
|
|
|
GIT_COMMIT_PACKAGES: "true"
|
|
|
|
GIT_PUSH_PACKAGES: "true"
|
|
|
|
run: |
|
|
|
|
git config --global user.name "Termux Github Actions"
|
2021-07-22 20:27:42 +02:00
|
|
|
git config --global user.email "contact@termux.com"
|
2021-10-04 12:23:28 +02:00
|
|
|
bash ./scripts/bin/update-packages
|