Attempt to run every two minutes
All checks were successful
Workflows / Update from AUR (push) Successful in 8s
Workflows / Wake Runner (push) Successful in 10s
Workflows / Check if rebuild is necessary (push) Has been skipped
Workflows / Build and Push (push) Has been skipped

This commit is contained in:
2025-04-23 12:21:56 +02:00
parent 278496c699
commit 2748fdf24b
3 changed files with 31 additions and 7 deletions

View File

@@ -3,6 +3,8 @@ on:
push:
branches:
- master
schedule:
- cron: '*/2 * * * *'
jobs:
update:
@@ -46,8 +48,7 @@ jobs:
name: Check if rebuild is necessary
runs-on: ubuntu-amd64
needs: update
outputs:
up-to-date: ${{ steps.up-to-date.outputs.exit_code }}
if: ${{ github.event_name == 'schedule' }}
container:
image: gitea.seeseepuff.be/archlinux/archlinux:latest
steps:
@@ -61,10 +62,9 @@ jobs:
- name: Check if rebuild is necessary
id: up-to-date
run: |
set +e
.gitea/workflows/up-to-date.sh
echo "exit_code=$?" >> "$GITHUB_OUTPUT"
set -e
git config user.email "sebastiaan.de.schaetzen+archlinux@gmail.com"
git config user.name "Sebastiaan de Schaetzen (automated)"
.gitea/workflows/bump-pkgrel.sh
build:
name: Build and Push
@@ -72,7 +72,7 @@ jobs:
needs: check
container:
image: gitea.seeseepuff.be/archlinux/archlinux:latest
if: needs.check.outputs.up-to-date == '1'
if: ${{ github.event_name == 'push' }}
steps:
- name: Checkout code
uses: actions/checkout@v2