Skip to content

Commit

Permalink
build: use context for access to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-ince committed Sep 26, 2023
1 parent 327d3e6 commit 6e801d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
java-version: '11'
distribution: 'temurin'
server-id: github
server-username: PACKAGES_USERNAME
server-username: ${{ vars.PACKAGES_USERNAME }}
server-password: ${{ secrets.PACKAGES_PASSWORD }}
- name: Build with Maven
run: mvn -B verify
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
java-version: '11'
distribution: 'temurin'
server-id: github
server-username: PACKAGES_USERNAME
server-username: ${{ vars.PACKAGES_USERNAME }}
server-password: ${{ secrets.PACKAGES_PASSWORD }}
- name: Build with Maven
run: mvn -B package
Expand Down

0 comments on commit 6e801d0

Please sign in to comment.