Skip to content

Commit

Permalink
Update workflow runs-on
Browse files Browse the repository at this point in the history
  • Loading branch information
boxwoods committed May 30, 2024
1 parent 4e56007 commit 05a1c5c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/intermediate-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.idea/
/target/
/parent.iml
/*.iml

0 comments on commit 05a1c5c

Please sign in to comment.