-
Notifications
You must be signed in to change notification settings - Fork 6
30 lines (29 loc) · 916 Bytes
/
daily.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Build Addons Weekly
on:
schedule:
- cron: "0 0 * * 6"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Get current date
id: date
run: echo "builddate=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- name: Starting Buildbot Builder
run: |
echo Starting Buildbot Builder
sudo apt-get install python3-lxml
sudo apt-get install libglu1
python -c "import sys; print(sys.version)"
python build_and_update_addons.py
- name: Update addons in the repository
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update Addons ${{ steps.date.outputs.builddate }}
repository: .
push_options: '--force'
commit_options: '--amend'
commit_user_name: GitHub Actions Bot