mirror of
https://github.com/square/okhttp.git
synced 2025-11-05 12:17:34 +08:00
Trigger a publish
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user