Skip to content

Commit

Permalink
fix(CI): updated deprecated steps versions
Browse files Browse the repository at this point in the history
  • Loading branch information
valdar committed May 7, 2024
1 parent bff69fb commit c9f45d9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/asf-snapshots-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Set up JDK ${{ matrix.java }}
uses: AdoptOpenJDK/install-jdk@v1
uses: AdoptOpenJDK/install-jdk@v1.1.1
with:
version: ${{ matrix.java }}
- name: Cache Maven Repository
Expand All @@ -46,17 +46,20 @@ jobs:

deploy:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '17' ]
needs: build
if: github.ref == 'refs/heads/main'
env:
NEXUS_DEPLOY_USERNAME: ${{ secrets.NEXUS_USER }}
NEXUS_DEPLOY_PASSWORD: ${{ secrets.NEXUS_PW }}
steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: AdoptOpenJDK/install-jdk@v1
- name: Set up JDK ${{ matrix.java }}
uses: AdoptOpenJDK/install-jdk@v1.1.1
with:
version: '11'
version: ${{ matrix.java }}
- name: Deploy to ASF Snapshots Repository
run: |
./mvnw ${MAVEN_ARGS} \
Expand Down

0 comments on commit c9f45d9

Please sign in to comment.