Trigger a publish

This commit is contained in:
Jesse Wilson
2025-10-09 19:03:19 -04:00
parent a8b8dc5d80
commit d5572ad310

View File

@@ -3,7 +3,7 @@ name: build
on:
push:
branches:
- master
- jwilson.1009.publish
pull_request:
types: [opened, labeled, unlabeled, synchronize]
@@ -16,7 +16,7 @@ env:
jobs:
publish:
runs-on: ubuntu-latest
if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
if: github.repository == 'square/okhttp'
steps:
- name: Checkout
@@ -119,7 +119,7 @@ jobs:
run: ./gradlew test -Dtest.java.version=11
- name: Publish Test Report
if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
if: github.repository == 'square/okhttp'
uses: mikepenz/action-junit-report@v5
with:
report_paths: '**/build/test-results/*/TEST-*.xml'
@@ -127,7 +127,7 @@ jobs:
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v2
if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
if: github.repository == 'square/okhttp'
with:
files: |
**/build/test-results/*/TEST-*.xml