Skip to content

Commit

Permalink
Fix GH Action env var deprecation
Browse files Browse the repository at this point in the history
partially addresses Electric-Coin-Company#295
  • Loading branch information
pacu committed Oct 12, 2024
1 parent d0a51bc commit 7f2188e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
MAVEN_SIGNING_KEY: ${{ secrets.MAVEN_SIGNING_KEY_ASCII }}
if: "${{ env.MAVEN_CENTRAL_USERNAME != '' && env.MAVEN_CENTRAL_PASSWORD != '' && env.MAVEN_SIGNING_KEY != '' }}"
run: echo "::set-output name=defined::true"
run: echo "defined=true" >> $GITHUB_OUTPUT

deploy_release:
environment: deployment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
MAVEN_CENTRAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
if: "${{ env.MAVEN_CENTRAL_USERNAME != '' && env.MAVEN_CENTRAL_PASSWORD != '' }}"
run: echo "::set-output name=defined::true"
run: echo "defined=true" >> $GITHUB_OUTPUT

deploy_snapshot:
if: needs.check_secrets.outputs.has-secrets == 'true'
Expand Down

0 comments on commit 7f2188e

Please sign in to comment.