diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index cb4329bb..e9fbeed6 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -34,23 +34,23 @@ jobs: - uses: graalvm/setup-graalvm@v1 with: - version: '22.3.0' + version: '22.3.2' java-version: '17' components: 'native-image' github-token: ${{ secrets.GITHUB_TOKEN }} - name: Checkout PR Branch - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Checkout tools repo - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: infinispan/infinispan path: infinispan ref: 14.0.x - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -58,17 +58,17 @@ jobs: ${{ runner.os }}-maven- - name: Build Infinispan SNAPSHOT - run: mvn install -s maven-settings.xml -am -pl cli -DskipTests + run: ./mvnw install -s maven-settings.xml -am -pl cli -DskipTests working-directory: infinispan - if: ${{ matrix.os == 'windows-2022' }} name: Build native executable run: | call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64 - mvn.cmd -V install -s maven-settings.xml -Pdistribution -Pnative -Pwindows -am -pl poms/bom,cli + mvnw.cmd -V install -s maven-settings.xml -Pdistribution -Pnative -Pwindows -am -pl poms/bom,cli shell: cmd - if: ${{ matrix.os != 'windows-2022' }} name: Build native executable - run: mvn -V install -s maven-settings.xml -Pdistribution -Pnative -am -pl poms/bom,cli + run: ./mvnw -V install -s maven-settings.xml -Pdistribution -Pnative -am -pl poms/bom,cli diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e0623b0..83313f31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,12 +32,12 @@ jobs: steps: - name: Checkout Source - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.branch }} - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -46,7 +46,7 @@ jobs: - uses: graalvm/setup-graalvm@v1 with: - version: '22.3.0' + version: '22.3.2' java-version: '17' components: 'native-image' github-token: ${{ secrets.GITHUB_TOKEN }} @@ -71,7 +71,7 @@ jobs: - name: Build release run: | git checkout ${{ github.event.inputs.releaseVersion }} - mvn package -s maven-settings.xml -DskipTests=true -Prelease + ./mvnw package -s maven-settings.xml -DskipTests=true -Prelease git checkout ${{ github.event.inputs.branch }} - name: Push changes @@ -113,7 +113,7 @@ jobs: gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Publish to OSSRH - run: mvn -B deploy -Prelease -Pcommunity-release -DskipTests -Dmaven.javadoc.skip=true -P \!native -pl \!integration-tests/server + run: ./mvnw -B deploy -Prelease -Pcommunity-release -DskipTests -Dmaven.javadoc.skip=true -P \!native -pl \!integration-tests/server env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}