Skip to content

Commit

Permalink
remove duplicate release.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
mwangggg committed Oct 20, 2023
1 parent 6b0aa71 commit f0a5a81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 32 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/maven-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ on:

jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: skjolber/maven-cache-github-action@v1
with:
step: restore
Expand All @@ -27,15 +25,12 @@ jobs:
distribution: 'adopt'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

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

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

- uses: skjolber/maven-cache-github-action@v1
with:
step: save
26 changes: 0 additions & 26 deletions .github/workflows/release.yaml

This file was deleted.

0 comments on commit f0a5a81

Please sign in to comment.