| 123456789101112131415161718192021222324252627282930313233343536 |
- name: CI Build
- on:
- push:
- pull_request:
- types: [opened, synchronize, reopened]
-
- # Allows you to run this workflow manually from the Actions tab
- workflow_dispatch:
- jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v3
- - name: Set up JDK
- uses: actions/setup-java@v3
- with:
- java-version: 17
- distribution: 'temurin'
-
- - name: Run Tests
- run: mvn test -B
-
- - name: Build Assembly
- run: mvn clean package assembly:single
-
- - name: Upload Assembly
- uses: actions/upload-artifact@v3
- with:
- name: "JPlag"
- path: "jplag/target/jplag-*-jar-with-dependencies.jar"
-
|