From f0b994131943828d2b1dd924b01333e56d7aa158 Mon Sep 17 00:00:00 2001 From: kares Date: Thu, 10 Aug 2023 14:55:38 +0200 Subject: [PATCH] [ci] make sure ./mvnw is used (for consistency) --- .github/workflows/ci.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad420bc4efe..95e14fc4f34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: java-version: ${{ matrix.java-version }} cache: 'maven' - name: bootstrap - run: mvn -Pbootstrap clean package + run: ./mvnw -Pbootstrap clean package - name: bundle install run: bin/jruby --dev -S bundle install - name: Save bootstrap build @@ -78,7 +78,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: rake ${{ matrix.target }} run: bin/jruby -S rake ${{ matrix.target }} @@ -119,7 +119,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: rake ${{ matrix.target }} run: bin/jruby -S rake ${{ matrix.target }} @@ -159,7 +159,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: rake test:jruby run: bin/jruby --dev -S rake test:jruby @@ -199,7 +199,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: rake ${{ matrix.target }} run: bin/jruby -S rake ${{ matrix.target }} @@ -237,7 +237,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: mvn package ${{ matrix.package-flags }} run: tool/maven-ci-script.sh env: @@ -281,7 +281,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: mvn package ${{ matrix.package-flags }} run: tool/maven-ci-script.sh env: @@ -323,7 +323,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: rake spec:ji run: bin/jruby -S rake spec:ji @@ -363,7 +363,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: rake spec:regression run: bin/jruby -S rake spec:regression @@ -394,7 +394,7 @@ jobs: java-version: 11 maven-version: '3.8.7' - name: bootstrap - run: mvn -Pbootstrap clean package + run: ./mvnw -Pbootstrap clean package - name: install bundler run: bin/jruby --dev -S gem install bundler - name: bundle install @@ -504,7 +504,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: sequel run: tool/sequel-github-actions.sh @@ -541,7 +541,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: concurrent-ruby run: tool/concurrent-ruby-github-actions.sh @@ -567,7 +567,7 @@ jobs: java-version: ${{ matrix.java-version }} architecture: arm - name: bootstrap - run: mvn -Pbootstrap clean package + run: ./mvnw -Pbootstrap clean package - name: mvn package ${{ matrix.package-flags }} run: tool/maven-ci-script.sh env: @@ -642,7 +642,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: test profile # run: "tool/maven-ci-script.sh" run: "true" @@ -686,7 +686,7 @@ jobs: key: ${{ github.sha }}-bootstrap - name: conditional-bootstrap if: ${{ steps.cache-bootstrap-restore.outputs.cache-hit == false }} - run: "mvn -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" + run: "./mvnw -Pbootstrap clean package && bin/jruby --dev -S gem install bundler && bin/jruby --dev -S bundle install" - name: rake ${{ matrix.target }} continue-on-error: true run: "bin/jruby -S rake ${{ matrix.target }}"