We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fcfb19 commit 57f2e39Copy full SHA for 57f2e39
.github/workflows/test.yml
@@ -23,7 +23,14 @@ jobs:
23
with:
24
distribution: 'temurin'
25
java-version: 17
26
+ - uses: actions-ecosystem/action-regex-match@v2
27
+ id: branch-match
28
+ with:
29
+ text: ${{ github.ref }}
30
+ regex: '^refs/heads/\d{4}\.\d$'
31
- name: Setup Gradle
32
uses: gradle/actions/setup-gradle@v4
33
34
+ cache-read-only: ${{ github.ref != 'refs/heads/dev' && steps.branch-match.outputs.match != '' }}
35
- name: Build
36
run: ./gradlew build --stacktrace
0 commit comments