From 389da6654565b697edd78820eef9df74b0a83330 Mon Sep 17 00:00:00 2001 From: Malena Casas Date: Sat, 9 Nov 2024 02:39:21 -0300 Subject: [PATCH] First edit to build.yml --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d5ac8c335d163..42d3596770f5c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -239,6 +239,21 @@ jobs: run: | sudo bash build-scripts/provision.sh + # Cache OpenSearch plugins + - name: Cache OpenSearch plugins + uses: actions/cache@v4 + with: + path: ~/.m2/repository/org/opensearch + key: ${{ runner.os }}-opensearch-${{ hashFiles('plugins/**/*.xml', 'plugins/**/gradle-wrapper.properties') }} + restore-keys: | + ${{ runner.os }}-opensearch- + + # Add the script to install plugins here + - name: Run script to install OpenSearch plugins + run: | + chmod +x ./path/to/your/script.sh # Cambia esto por la ruta real de tu script + ./path/to/your/script.sh + - name: Run `baptizer.sh` (min) run: | name=$(bash build-scripts/baptizer.sh -m \