Skip to content

Commit

Permalink
[ci] make sure ./mvnw is used (for consistency)
Browse files Browse the repository at this point in the history
  • Loading branch information
kares committed Aug 11, 2023
1 parent cb591f0 commit f0b9941
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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:
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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 }}"
Expand Down

0 comments on commit f0b9941

Please sign in to comment.