Skip to content

Commit

Permalink
conbined github action tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
henryhuang committed Jun 30, 2024
1 parent b03fefa commit c8f02cd
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ env:
PUBLISH_BRANCH: main

jobs:
build:

build-publish:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
Expand All @@ -27,11 +29,6 @@ jobs:
run: |
mvn -B package --file pom.xml
publish:
runs-on: ubuntu-latest
needs: build
steps:

- name: Extract branch name
id: extract_branch
shell: bash
Expand Down

0 comments on commit c8f02cd

Please sign in to comment.