Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvigarabis committed Jan 1, 2024
1 parent 671332c commit b4efa68
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ name: Java CI with Maven

on:
push:
branches: [ "main", "fixed-origin-relow" ]
branches: [ main, dev ]
pull_request:
branches: [ "main" ]
branches: [ main ]
workflow_dispatch:

jobs:
build:
Expand All @@ -16,11 +17,16 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
- 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
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.0.0
with:
name: ESplitter
path: 'target/*.jar'

0 comments on commit b4efa68

Please sign in to comment.