diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index 6e782c549..3a08be230 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -24,17 +24,23 @@ jobs: uses: eclipse-set/build/.github/actions/setup-java@main - name: Cache Eclipse - uses: actions/cache@v5 + uses: actions/cache/restore@v5 with: - path: ./tmp/eclipse.tar.gz + path: ./tmp/eclipse-2025-12.tar.gz key: ${{ runner.os }}-eclipse-2025-12 - restore-keys: ${{ runner.os }}-eclipse-2025-12 - name: Get eclipse - run: mkdir ./tmp && wget -O ./tmp/eclipse.tar.gz https://archive.eclipse.org/technology/epp/downloads/release/2025-12/RC1/eclipse-java-2025-12-RC1-linux-gtk-x86_64.tar.gz + if: ${{ hashFiles('./tmp/eclipse-2025-12.tar.gz') == '' }} + run: mkdir ./tmp && wget -O ./tmp/eclipse-2025-12.tar.gz https://archive.eclipse.org/technology/epp/downloads/release/2025-12/RC1/eclipse-java-2025-12-RC1-linux-gtk-x86_64.tar.gz + - name: Save to Cache + uses: actions/cache/save@v5 + with: + path: ./tmp/eclipse-2025-12.tar.gz + key: ${{ runner.os }}-eclipse-2025-12 + - name: Unzip eclipse - run: tar -xf ./tmp/eclipse.tar.gz -C ./tmp + run: tar -xf ./tmp/eclipse-2025-12.tar.gz -C ./tmp - name: Test run: ls -la $JAVA_HOME/bin