You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docker-glpi/.github/workflows/check_glpi_version.yml

38 lines
895 B

name: Check GLPI Version
on:
schedule:
- cron: '0 * * * *'
jobs:
check_version:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests beautifulsoup4
- name: Check GLPI version
run: python check_glpi_version.py
- name: Store new version
if: ${{ success() }}
run: |
echo "NEW_GLPI_VERSION=$(cat new_glpi_version.txt)" >> $GITHUB_ENV
- name: Run build for new version
if: ${{ success() }}
run: |
echo "Build process starts for new GLPI version ${{ env.NEW_GLPI_VERSION }}"
# Ajoutez ici les étapes pour lancer le build avec la nouvelle version