File tree Expand file tree Collapse file tree 1 file changed +30
-6
lines changed
Expand file tree Collapse file tree 1 file changed +30
-6
lines changed Original file line number Diff line number Diff line change 7474 echo "------- Maven Install (to create a local test build) -------";
7575 mvn -B -e -f pom.xml clean install -Dgoal=install
7676
77- - name : Upload Artifact
78- uses : actions/upload-artifact@v4
79- with :
80- name : crypto-lex-${{ matrix.lucee.version }}
81- path : target/*.lex
82-
8377 - name : Checkout Lucee
8478 uses : actions/checkout@v4
8579 with :
@@ -100,6 +94,36 @@ jobs:
10094 testAdditional : ${{ github.workspace }}/tests
10195 LUCEE_ADMIN_PASSWORD : admin
10296
97+ upload-artifact :
98+ runs-on : ubuntu-latest
99+ needs : [setup, build-and-test]
100+ if : needs.build-and-test.result == 'success'
101+ steps :
102+ - uses : actions/checkout@v4
103+
104+ - name : Set up JDK 11
105+ uses : actions/setup-java@v4
106+ with :
107+ java-version : ' 11'
108+ distribution : ' temurin'
109+
110+ - name : Cache Maven packages
111+ uses : actions/cache@v4
112+ with :
113+ path : ~/.m2
114+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
115+ restore-keys : |
116+ ${{ runner.os }}-maven-
117+
118+ - name : Build
119+ run : mvn -B -e -f pom.xml clean package -DskipTests
120+
121+ - name : Upload Artifact
122+ uses : actions/upload-artifact@v4
123+ with :
124+ name : crypto-lex
125+ path : target/*.lex
126+
103127 deploy :
104128 runs-on : ubuntu-latest
105129 needs : [setup, build-and-test]
You can’t perform that action at this time.
0 commit comments