Skip to content

Commit

Permalink
java maven hint
Browse files Browse the repository at this point in the history
  • Loading branch information
slow-groovin committed Aug 15, 2024
1 parent 345bfef commit 9fba350
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image-build-push-spring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
java-version: '21'
distribution: 'liberica'
server-password: MY_GH_SECRET_TOKEN
# server-password: MY_GH_SECRET_TOKEN #with test, this will not work for when maven project has a dependency of same/other github repo's packages
cache: maven
- name: run echo something
run: |
Expand All @@ -40,8 +40,8 @@ jobs:
- name: Build with Maven
run: cd java && mvn -B package -P github -X
# env:
# GITHUB_TOKEN: ${{ secrets.MY_GH_SECRET_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.MY_GH_SECRET_TOKEN }} # only this will not work for when maven project has a dependency of same/other github repo's packages

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit 9fba350

Please sign in to comment.