Skip to content

CI: Do not save the ccache for PRs #14168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2024
Merged

Conversation

TimWolla
Copy link
Member

@TimWolla TimWolla commented May 7, 2024

Resolves #14155

@TimWolla TimWolla requested a review from iluuu1994 as a code owner May 7, 2024 17:45
@@ -72,6 +72,7 @@ jobs:
# job id, not the job name)
key: "LINUX_X64_${{ matrix.debug && 'DEBUG' || 'RELEASE' }}_${{ matrix.zts && 'ZTS' || 'NTS' }}-${{hashFiles('main/php_version.h')}}"
append-timestamp: false
save: ${{ github.event_name != 'pull_request' }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be added to all the usages of hendrikmuhs/ccache-action in this file, I believe.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thanks. I've added it after waiting for the initial build to pass to verify that my YAML programming worked fine.

Will merge once CI is green for PHP 8.2 and after making a final verification of the log output.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Also note that another instance exists on PHP 8.3+ (the benchmarking job).

Copy link
Member Author

@TimWolla TimWolla May 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the heads up. For completeness I've also added it to the Nightly job, even though it does not run for PRs. Commit: 402f3a9

@TimWolla TimWolla force-pushed the ccache-pr-no-save branch from 096adfb to f072c3b Compare May 7, 2024 18:13
@TimWolla TimWolla merged commit b8aa68b into php:PHP-8.2 May 7, 2024
8 checks passed
@TimWolla TimWolla deleted the ccache-pr-no-save branch May 7, 2024 18:53
TimWolla added a commit that referenced this pull request May 7, 2024
* PHP-8.2:
  CI: Do not save the ccache for PRs (#14168)
TimWolla added a commit that referenced this pull request May 7, 2024
TimWolla added a commit that referenced this pull request May 7, 2024
* PHP-8.3:
  CI: Do not save the ccache for PRs (8.3+)
  CI: Do not save the ccache for PRs (#14168)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants