Skip to content

Commit

Permalink
Atualizado libs de release.
Browse files Browse the repository at this point in the history
  • Loading branch information
fincatto committed Jul 3, 2024
1 parent dda73b7 commit d7df3ab
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7

- name: Install Java and Maven
uses: actions/setup-java@v3
uses: actions/setup-java@v4.2.1
with:
java-version: '11'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'
cache: maven

- name: Adding ssh key
uses: webfactory/[email protected]
Expand All @@ -40,11 +41,11 @@ jobs:
nexus_password: ${{ secrets.nexus_password }}
maven_goals_phases: clean -B release:prepare release:perform -Darguments="-DskipTests" -P ossrh

- name: Set up Java for publishing to GitHub Packages
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
# - name: Set up Java for publishing to GitHub Packages
# uses: actions/setup-java@v3
# with:
# java-version: '11'
# distribution: 'adopt'

- name: Publish to GitHub Packages
run: mvn --batch-mode deploy -P github
Expand Down

0 comments on commit d7df3ab

Please sign in to comment.