mirror of
https://github.com/gradle/actions.git
synced 2026-04-19 18:12:58 +08:00
ff9ae24c39
## Summary
- **New `basic` cache provider**: Adds an open-source (MIT-licensed)
caching implementation built on `@actions/cache` as an alternative to
the proprietary Enhanced Caching. Users can opt in with `cache-provider:
basic` on both `setup-gradle` and `dependency-submission` actions.
- **Revamped licensing & distribution docs**: Replaces the verbose
licensing notice block (previously shown in README, docs, and logs) with
a friendlier callout and a new dedicated
[DISTRIBUTION.md](./DISTRIBUTION.md) covering component licensing, usage
tiers, data privacy ("Safe Harbor"), and opt-out instructions.
- **Improved messaging**: Enhanced Caching and Basic Caching each
display concise, informative log messages and job summary notes instead
of the previous wall-of-text license warning.
- **New integration tests**: Adds `integ-test-basic-cache-provider.yml`
workflow that seeds and verifies the basic cache provider across
platforms, plus unit tests for `BasicCacheService` and `getCacheService`
selection logic.
- **CI workflow reorganization**: Dependency-submission integration
tests extracted into their own reusable suite
(`suite-integ-test-dependency-submission.yml`); sample project tests
moved into the caching suite.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
60 lines
1.4 KiB
YAML
60 lines
1.4 KiB
YAML
name: CI-integ-test
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'release/**'
|
|
- 'dev/**' # Allow running tests on dev branches without a PR
|
|
paths-ignore:
|
|
- 'dist/**'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-distribution:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- name: Build and upload distribution
|
|
if: ${{ needs.determine-suite.outputs.suite != 'full' }}
|
|
uses: ./.github/actions/build-dist
|
|
|
|
caching-integ-tests:
|
|
needs: build-distribution
|
|
uses: ./.github/workflows/suite-integ-test-caching.yml
|
|
concurrency:
|
|
group: CI-integ-test-caching
|
|
cancel-in-progress: false
|
|
with:
|
|
skip-dist: false
|
|
secrets: inherit
|
|
|
|
other-integ-tests:
|
|
permissions:
|
|
contents: write
|
|
needs: caching-integ-tests
|
|
uses: ./.github/workflows/suite-integ-test-other.yml
|
|
concurrency:
|
|
group: CI-integ-test-other
|
|
cancel-in-progress: false
|
|
with:
|
|
skip-dist: false
|
|
secrets: inherit
|
|
|
|
dependency-submission-integ-tests:
|
|
permissions:
|
|
contents: write
|
|
needs: other-integ-tests
|
|
uses: ./.github/workflows/suite-integ-test-dependency-submission.yml
|
|
concurrency:
|
|
group: CI-integ-test-dependency-submission
|
|
cancel-in-progress: false
|
|
with:
|
|
skip-dist: false
|
|
secrets: inherit
|