Skip to content

Commit

Permalink
Fix E2E workflow (#2491)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll authored Oct 9, 2023
1 parent aa135fb commit 2c86046
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
- name: Install dependencies
run: python -m poetry install
- name: Install Flower wheel from artifact store
if: github.repository == 'adap/flower' && ${{ !github.event.pull_request.head.repo.fork }}
if: ${{ github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork }}
run: |
python -m pip install https://artifact.flower.dev/py/${{ github.head_ref }}/${{ needs.wheel.outputs.short_sha }}/${{ needs.wheel.outputs.whl_path }}
- name: Download dataset
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
run: |
python -m poetry install
- name: Install Flower wheel from artifact store
if: github.repository == 'adap/flower' && ${{ !github.event.pull_request.head.repo.fork }}
if: ${{ github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork }}
run: |
python -m pip install https://artifact.flower.dev/py/${{ github.head_ref }}/${{ needs.wheel.outputs.short_sha }}/${{ needs.wheel.outputs.whl_path }}
- name: Cache Datasets
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

deploy_docs:
needs: "build_docs"
if: github.ref == 'refs/heads/main' && github.repository == 'adap/flower' && ${{ !github.event.pull_request.head.repo.fork }}
if: ${{ github.ref == 'refs/heads/main' && github.repository == 'adap/flower' && !github.event.pull_request.head.repo.fork }}
runs-on: macos-latest
name: Deploy docs
steps:
Expand Down

0 comments on commit 2c86046

Please sign in to comment.