Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/homejim/HotswapAgent
Browse files Browse the repository at this point in the history
  • Loading branch information
homejim committed Nov 23, 2024
2 parents 80b2111 + 0d184d8 commit a02c803
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Java CI with Maven

on:
push:
branches: [ "for_action","master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
ref: master

- name: Set up JBR17
run: |
curl -L -o jdk.tar.gz https://cache-redirector.jetbrains.com/intellij-jbr/jbr_jcef-17.0.9-linux-x64-b1087.7.tar.gz
tar -xzf jdk.tar.gz
ls -l
export JAVA_HOME=$PWD/jbr_jcef-17.0.9-linux-x64-b1087.7
export PATH=$JAVA_HOME/bin:$PATH
java -version
shell: bash

- name: Maven install
run: |
export JAVA_HOME=$PWD/jbr_jcef-17.0.9-linux-x64-b1087.7
export PATH=$JAVA_HOME/bin:$PATH
java -version
mvn clean install
shell: bash

0 comments on commit a02c803

Please sign in to comment.