Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

nightly_build

nightly_build #582

---
name: nightly_build
on:
schedule:
- cron: '0 1 * * *'
workflow_dispatch: {}
jobs:
update_spec_file:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
with:
token: ${{ secrets.REPOSITORY_ACCESS_TOKEN }}
- name: Install Python dependencies
run: |
sudo apt-get install -y python3-requests
- name: Update SPEC file with last tagged version
run: >-
python3 update_spec.py --log-level DEBUG "vim/vim"
SPECS/aje-vim90-vim.spec SOURCES/changelog-aje-vim90-vim
- name: Commit and push updated SPEC file to trigger a rebuild
uses: EndBug/add-and-commit@v6
with:
add: '.'
author_name: Antoine Jouve
author_email: ant.jouve@gmail.com
branch: main
cwd: '.'
message: 'Nightly rebuild of last Vim tag'
push: true
token: ${{ secrets.REPOSITORY_ACCESS_TOKEN }}