Skip to content

Commit

Permalink
fix ifs
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Feb 3, 2025
1 parent 29c0d51 commit 87d5de8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
run: ./gradlew build -PtargetPlatform=musl

- name: Publish to Maven
if: ${{ (secrets.MAVEN_USERNAME && secrets.MAVEN_PASSWORD) || (secrets.MAVEN_CENTRAL_USERNAME && secrets.MAVEN_CENTRAL_PASSWORD && secrets.SIGNING_IN_MEMORY_KEY && secrets.SIGNING_IN_MEMORY_KEY_PASSWORD) }}
if: ${{ (secrets.MAVEN_USERNAME != '' && secrets.MAVEN_PASSWORD != '') || (secrets.MAVEN_CENTRAL_USERNAME != '' && secrets.MAVEN_CENTRAL_PASSWORD != '' && secrets.SIGNING_IN_MEMORY_KEY != '' && secrets.SIGNING_IN_MEMORY_KEY_PASSWORD != '') }}
run: ./gradlew publish

- name: Upload Lavalink.jar
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Log in to docker registry
if: ${{ secrets.DOCKER_REGISTRY && secrets.DOCKER_USERNAME && secrets.DOCKER_TOKEN && secrets.DOCKER_IMAGE }}
if: ${{ secrets.DOCKER_REGISTRY != '' && secrets.DOCKER_USERNAME != '' && secrets.DOCKER_TOKEN != '' && secrets.DOCKER_IMAGE != '' }}
uses: docker/login-action@v3
with:
registry: ${{ secrets.DOCKER_REGISTRY }}
Expand Down

0 comments on commit 87d5de8

Please sign in to comment.