File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 3838 commit : ${{ steps.getCommit.outputs.commit }}
3939 steps :
4040 # Checkout this project into a sub folder
41- - uses : actions/checkout@v2
41+ - uses : actions/checkout@v4
4242 with :
4343 path : archetype
44+ # Set up JDK 11
45+ - name : Set up JDK 11
46+ uses : actions/setup-java@v3
47+ with :
48+ distribution : temurin
49+ java-version : ' 11'
4450 # Set up dependency cache
4551 - name : Cache local Maven repository
4652 uses : actions/cache@v2
5359 - name : Install archetype snapshot and store version in a variable
5460 run : |
5561 cd archetype
62+ mvn --version
5663 mvn clean install -Darchetype.test.skip
5764 echo "ARCHETYPE_VERSION=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec)" >> $GITHUB_ENV
5865 echo "ARCHETYPE_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments