From 05a1c5cb1673a66fb67cc4580eac4ead3a48a1c5 Mon Sep 17 00:00:00 2001 From: Clay Woods Date: Thu, 30 May 2024 08:58:13 -0700 Subject: [PATCH] Update workflow runs-on --- .github/workflows/intermediate-build.yaml | 11 ++++++++++- .gitignore | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/intermediate-build.yaml b/.github/workflows/intermediate-build.yaml index cb25c91..c176827 100644 --- a/.github/workflows/intermediate-build.yaml +++ b/.github/workflows/intermediate-build.yaml @@ -13,7 +13,7 @@ on: branches: [ "3-workflow-build" ] jobs: build: - runs-on: ubuntu-latest + runs-on: arc-runner-set steps: - uses: actions/checkout@v4 - name: Set up JDK 11 @@ -22,5 +22,14 @@ jobs: java-version: '11' distribution: 'temurin' cache: maven + - name: Download Maven + run: | + curl -sL https://www-eu.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.zip -o maven.zip + apt-get update + apt-get -y install unzip + unzip -d /usr/share maven.zip + rm maven.zip + ln -s /usr/share/apache-maven-3.6.3/bin/mvn /usr/bin/mvn + echo "M2_HOME=/usr/share/apache-maven-3.6.3" | tee -a /etc/environment - name: Build aissemble-parent run: mvn dependency:tree diff --git a/.gitignore b/.gitignore index 01a1ac6..392870e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /.idea/ /target/ -/parent.iml +/*.iml +