From 2212e751ee0c730b86baa2e5b800b1397547dc63 Mon Sep 17 00:00:00 2001 From: Lachee Date: Wed, 7 May 2025 21:34:51 +1000 Subject: [PATCH] updated readme generation --- .gitea/workflows/update-readme.yaml | 10 ++++++---- scripts/update-readme.py | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/update-readme.yaml b/.gitea/workflows/update-readme.yaml index bcdc33a..968ebbc 100644 --- a/.gitea/workflows/update-readme.yaml +++ b/.gitea/workflows/update-readme.yaml @@ -2,12 +2,14 @@ name: Update README with Docker Images on: schedule: - - cron: '0 0 * * *' # Run daily at midnight - workflow_dispatch: # Allow manual triggering - workflow_run: - workflows: ["Create Images"] + - cron: '0 0 * * *' # Run daily at midnight + workflow_dispatch: # Allow manual triggering + workflow_run: # Trigger from images + workflows: + - Create Images types: - completed + jobs: update-readme: runs-on: ubuntu-latest diff --git a/scripts/update-readme.py b/scripts/update-readme.py index e4ae5bf..45eb8e0 100644 --- a/scripts/update-readme.py +++ b/scripts/update-readme.py @@ -104,7 +104,7 @@ def main(): versions={} - pattern = re.compile(r"(\w+)-(\d+\.\d+\.\d+\w*)-(\w+)-runner") + pattern = re.compile(r"(\w+)-(\d+\.\d+\.\d+\w*)-(\w+)(-mono|-il2cpp)?-runner") for tag in tags: matches = pattern.match(tag) if matches: