Skip to content

Commit

Permalink
build: Replace always() with continue-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
kdmccormick authored Jan 10, 2025
1 parent 396bff7 commit 6bf027b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ jobs:
# That's OK--if we fail to log in, we'll proceed anonymously, and hope we don't get rate-limited.
- name: Try to log into Docker Hub
uses: docker/[email protected]
continue-on-error: true
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Start MongoDB
if: always() # Continue even if the previous step (log into DockerHub) failed.
uses: supercharge/[email protected]
with:
mongodb-version: ${{ matrix.mongo-version }}
Expand Down

0 comments on commit 6bf027b

Please sign in to comment.