Skip to content

Commit

Permalink
Merge pull request #1 from kata1219/main
Browse files Browse the repository at this point in the history
Update maven.yml
  • Loading branch information
BlackLutos authored Jun 8, 2022
2 parents 6cbb27b + 8c440e0 commit 545cc24
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
name: Maven Package

on:
release:
types: [created]

push:
branches: [ main ]
jobs:
build:

Expand All @@ -27,8 +27,3 @@ jobs:

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 545cc24

Please sign in to comment.