]> source.dussan.org Git - aspectj.git/commitdiff
Enable CI build to be run manually and add download libs step
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Fri, 9 Apr 2021 04:42:01 +0000 (11:42 +0700)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Fri, 9 Apr 2021 04:42:01 +0000 (11:42 +0700)
Via 'workflow_dispatch' users with the necessary access rights can now
run the GitHub Actions workflow from the web UI.

Still in testing stage in redundant module 'libx', prepare for the
future situation that currently committed binaries in 'lib' shall be
replaced by downloaded ones.

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
.github/workflows/maven.yml

index 26c6f148cd8750648f68b422d1ca3120f1a7f833..072cd348e2bea9418cd5fef2c6548f1eb553429f 100644 (file)
@@ -1,13 +1,14 @@
 # This workflow will build a Java project with Maven
 # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
 
-name: Java CI with Maven
+name: Build AspectJ
 
 on:
   push:
     branches: [ master ]
   pull_request:
     branches: [ master ]
+  workflow_dispatch:
 
 jobs:
   build:
@@ -30,6 +31,9 @@ jobs:
           ./mvnw -B --version
           ant -version
 
+      - name: Download + install test libraries
+        run: ./mvnw -B --file libx/pom.xml compile
+
       - name: Compile code
         run: ./mvnw -B -DskipTests package --file pom.xml