Skip to content

use distinct names for GH actions #32

use distinct names for GH actions

use distinct names for GH actions #32

Workflow file for this run

# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
name: Build
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: automatiko-approval-tasks
- uses: actions/checkout@v4
with:
repository: automatiko-io/automatiko-engine
path: automatiko
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
- name: Build Automatiko
run: mvn -B install -DskipTests --file automatiko/pom.xml
- name: Build Automatiko Approval Tasks
run: mvn -B package --file automatiko-approval-tasks/pom.xml