Skip to content

Commit

Permalink
refactor: remove redundant JDK-8 version configuration
Browse files Browse the repository at this point in the history
- refactor(deploy-pages.yml)
- refactor(deploy-snapshot.yaml)
- refactor(deploy.yaml)

work on #54
  • Loading branch information
bsorrentino committed Dec 29, 2024
1 parent 58b366d commit 3bdf67a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:

jobs:
# Single deploy job since we're just deploying
# mvn -B -Pjdk-8 site:site site:stage
# mvn -B site:site site:stage
deploy:
environment:
name: github-pages
Expand All @@ -40,7 +40,7 @@ jobs:
java-version: 17
- name: Deploy site to Github pages
run: |
mvn -B -Pjdk-8 site:site site:stage
mvn -B site:site site:stage
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OSS_SONATYPE_TOKEN: ${{ secrets.OSS_SONATYPE_TOKEN }}
run: mvn -B -Pjdk-8 clean deploy --file pom.xml -s settings-template.xml
run: mvn -B clean deploy --file pom.xml -s settings-template.xml
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OSS_SONATYPE_TOKEN: ${{ secrets.OSS_SONATYPE_TOKEN }}
run: mvn -B -Prelease,jdk-8 source:jar javadoc:jar deploy --file pom.xml -s settings-template.xml -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
run: mvn -B -Prelease source:jar javadoc:jar deploy --file pom.xml -s settings-template.xml -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}

0 comments on commit 3bdf67a

Please sign in to comment.