From 6fe7f39e8afb9a8b2e133976a05bf8db2b1055a8 Mon Sep 17 00:00:00 2001 From: Ludovico Pavesi Date: Mon, 29 Apr 2024 18:43:01 +0200 Subject: [PATCH] Minor fixes --- .github/workflows/ci.yml | 2 +- bin/cleanup.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8779137..ce06f24 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['8.2', '8.3'] + php: ['8.2', 'latest'] steps: - uses: actions/checkout@v4 diff --git a/bin/cleanup.php b/bin/cleanup.php index 2ae2fa2..8015327 100644 --- a/bin/cleanup.php +++ b/bin/cleanup.php @@ -6,8 +6,7 @@ $dirs = [ __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'resources' . DIRECTORY_SEPARATOR . 'photos', - __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'resources' . DIRECTORY_SEPARATOR . 'latex' . DIRECTORY_SEPARATOR . 'sir', - __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'resources' . DIRECTORY_SEPARATOR . 'pdftemplates' . DIRECTORY_SEPARATOR . 'sir', + __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'resources' . DIRECTORY_SEPARATOR . 'pdftemplates' . DIRECTORY_SEPARATOR . 'output', ]; foreach($dirs as $dir) { $files = scandir($dir);