From cf271c9f150f5442d47d14465993fcdb60698dbc Mon Sep 17 00:00:00 2001 From: Wtyd Date: Sun, 31 Dec 2023 01:23:39 +0100 Subject: [PATCH] reestablecimiento de jobs --- .github/workflows/code-analysis.yml | 2 +- .github/workflows/main-tests.yml | 2 +- .github/workflows/release.yml | 9 ++++++--- .github/workflows/schedule-ci.yml | 6 ++---- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml index d981181..1ff5455 100644 --- a/.github/workflows/code-analysis.yml +++ b/.github/workflows/code-analysis.yml @@ -2,7 +2,7 @@ name: Code Analysis # https://github.com/shivammathur/setup-php on: push: - branches-ignore: [ rc**, 6-cache ] + branches-ignore: [ rc** ] pull_request: branches-ignore: [ master ] diff --git a/.github/workflows/main-tests.yml b/.github/workflows/main-tests.yml index 8fba1e5..a0cc11d 100644 --- a/.github/workflows/main-tests.yml +++ b/.github/workflows/main-tests.yml @@ -2,7 +2,7 @@ name: Main Tests # https://github.com/shivammathur/setup-php on: push: - branches-ignore: [ rc**, 6-cache ] + branches-ignore: [ rc** ] pull_request: branches-ignore: [ master ] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8857b2..d8e5f8b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,12 +26,15 @@ jobs: php-version: ${{ matrix.php-versions }} coverage: none + - name: Get composer cache directory + id: composer-cache + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT + - name: Cache dependencies uses: actions/cache@v3 with: - path: | - /home/runner/.cache/composer/files - key: ${{ runner.os }}-${{ matrix.php-versions }}-${{ hashFiles('**/composer.json') }} + path: ${{ steps.composer-cache.outputs.dir }} + key: ${{ runner.os }}-rc-${{ matrix.php-versions }}-${{ hashFiles('**/composer.json') }} restore-keys: | ${{ runner.os }}- diff --git a/.github/workflows/schedule-ci.yml b/.github/workflows/schedule-ci.yml index 35a4b23..f856589 100644 --- a/.github/workflows/schedule-ci.yml +++ b/.github/workflows/schedule-ci.yml @@ -1,10 +1,8 @@ name: Schedule CI # https://github.com/shivammathur/setup-php on: - push: - branches: [ 6-cache ] - # schedule: - # - cron: '0 4 * * sun' # Sundays at 04 am + schedule: + - cron: '0 4 * * sun' # Sundays at 04 am env: