From 4e998324f05b0a2edf61ebd26067820d2412d3cb Mon Sep 17 00:00:00 2001 From: Guillaume Smet Date: Mon, 19 Aug 2024 17:12:28 +0200 Subject: [PATCH] Drop a useless workflow This workflow wasn't populating the cache with the right key as we haven't changed it when we switched to a weekly-refreshed cache. Let's drop it. --- .github/workflows/ci-fork-mvn-cache.yml | 65 ------------------------- 1 file changed, 65 deletions(-) delete mode 100644 .github/workflows/ci-fork-mvn-cache.yml diff --git a/.github/workflows/ci-fork-mvn-cache.yml b/.github/workflows/ci-fork-mvn-cache.yml deleted file mode 100644 index d226038a118e4..0000000000000 --- a/.github/workflows/ci-fork-mvn-cache.yml +++ /dev/null @@ -1,65 +0,0 @@ -name: Quarkus CI Fork Maven Cache - -on: - push: - branches: - - 'main' - # paths-ignore should match ci-actions.yml - paths-ignore: - - '.gitignore' - - '.dockerignore' - - '*.md' - - '*.adoc' - - '*.txt' - - 'adr/**' - - 'docs/src/main/asciidoc/**' - - '.github/ISSUE_TEMPLATE/**' - - '.github/*.yml' - - '.github/*.java' - - '.github/*.conf' - schedule: - # first day of month at 12:10am - - cron: '10 0 1 * *' - workflow_dispatch: - -concurrency: - group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}, pr = ${{ github.event.pull_request.id }}" - cancel-in-progress: ${{ github.event_name == 'pull_request' }} - -env: - LANG: en_US.UTF-8 -jobs: - build-jdk17: - name: "Quick JDK 17 Build" - runs-on: ubuntu-latest - # Skip in main repo - if: github.repository != 'quarkusio/quarkus' - steps: - - uses: actions/checkout@v4 - - name: Reclaim Disk Space - run: .github/ci-prerequisites.sh - - name: Set up JDK 17 - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: 17 - - name: Get Date - id: get-date - run: | - echo "date=$(/bin/date -u "+%Y-%m")" >> $GITHUB_OUTPUT - shell: bash - - name: Cache Maven Repository - id: cache-maven - uses: actions/cache@v4 - with: - path: ~/.m2/repository - # refresh cache every month to avoid unlimited growth - key: q2maven-${{ steps.get-date.outputs.date }} - - name: Build - if: steps.cache-maven.outputs.cache-hit != 'true' - run: | - ./mvnw -T1C -e -B --settings .github/mvn-settings.xml -Dquickly-ci -Dtcks clean install - - name: Delete Local Artifacts From Cache - if: steps.cache-maven.outputs.cache-hit != 'true' - shell: bash - run: rm -r ~/.m2/repository/io/quarkus