Skip to content

Commit

Permalink
Reverts to cache steps again
Browse files Browse the repository at this point in the history
  • Loading branch information
XComp committed Nov 11, 2023
1 parent be451cf commit ddd4d7b
Showing 1 changed file with 42 additions and 5 deletions.
47 changes: 42 additions & 5 deletions .github/workflows/flink-ci-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,13 @@ jobs:
with:
distribution: "temurin"
java-version: ${{ inputs.jdk-version }}
cache: "maven"

- name: "Setup Maven package cache"
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-

- name: "Codestyle"
run: |
Expand Down Expand Up @@ -100,7 +106,13 @@ jobs:
with:
distribution: "temurin"
java-version: ${{ inputs.jdk-version }}
cache: "maven"

- name: "Setup Maven package cache"
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-

- name: "DEBUG #0"
run: |
Expand Down Expand Up @@ -139,7 +151,13 @@ jobs:
with:
distribution: "temurin"
java-version: ${{ inputs.jdk-version }}
cache: "maven"

- name: "Setup Maven package cache"
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-

- name: "Download build artifacts from compile job"
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -188,7 +206,13 @@ jobs:
with:
distribution: "temurin"
java-version: ${{ inputs.jdk-version }}
cache: "maven"

- name: "Setup Maven package cache"
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-

- name: "Set coredump pattern"
run: sudo sysctl -w kernel.core_pattern=core.%p
Expand Down Expand Up @@ -294,7 +318,20 @@ jobs:
with:
distribution: "temurin"
java-version: ${{ inputs.jdk-version }}
cache: "maven"

- name: "Setup Maven package cache"
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-

- name: "Setup Maven package cache"
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-

- name: "Install missing packages"
run: sudo apt-get install -y net-tools docker-compose
Expand Down

0 comments on commit ddd4d7b

Please sign in to comment.