Skip to content
Permalink
4ed872ef7c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
View runs Go to file
 
 
Cannot retrieve contributors at this time
33 lines (29 sloc) 750 Bytes
name: CI with mvn
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: [ self-hosted ]
defaults:
run:
working-directory: "DeFi-Data-Engine/DeFi Data Engine/"
steps:
- uses: actions/checkout@v3
# - name: Set up JDK 17
# uses: actions/setup-java@v3
# with:
# java-version: '17'
# distribution: 'temurin'
# cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
# - run: mvn --batch-mode --update-snapshots verify
# - run: mkdir staging && cp target/*.jar staging
# - uses: actions/upload-artifact@v3
# with:
# name: Package
# path: staging