Skip to content

Commit

Permalink
Configure CHROME_BIN in CI/publish workflows (#402)
Browse files Browse the repository at this point in the history
  • Loading branch information
twyatt authored Sep 20, 2024
1 parent 053ef89 commit dc2073b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ jobs:
java-version: '17'
- uses: gradle/actions/setup-gradle@v4
- uses: browser-actions/setup-chrome@v1
id: setup-chrome

- run: ./gradlew assemble
- run: ./gradlew check
env:
CHROME_BIN: ${{ steps.setup-chrome.outputs.chrome-path }}

- uses: actions/upload-artifact@v4
if: failure()
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ jobs:
java-version: '17'
- uses: gradle/actions/setup-gradle@v4
- uses: browser-actions/setup-chrome@v1
id: setup-chrome

- run: ./gradlew check
env:
CHROME_BIN: ${{ steps.setup-chrome.outputs.chrome-path }}

- name: publish
run: >
./gradlew
Expand Down

0 comments on commit dc2073b

Please sign in to comment.