Minor updates to release yml files
MODIFY
.github/workflows/patch-release-build.yml
.github/workflows/patch-release-build.yml
@@ -80,6 +80,11 @@ jobs:
- name: Test
run: ./gradlew test -PtestJavaVersion=${{ matrix.java }} --stacktrace -x :smoke-tests:test -Porg.gradle.java.installations.paths=${{ steps.setup-test-java.outputs.path }} -Porg.gradle.java.installations.auto-download=false
+ # testLatestDeps is intentionally not included in the release workflow
+ # because any time a new library version is released to maven central
+ # it can fail due to test code incompatibility with the new library version,
+ # or due to slight changes in emitted telemetry
+
smoke-test:
runs-on: ${{ matrix.os }}
needs: prepare-release-branch
@@ -137,7 +142,7 @@ jobs:
release:
runs-on: ubuntu-latest
- needs: prepare-release-branch
+ needs: [ test, smoke-test, example-distro ]
steps:
- uses: actions/checkout@v2.3.4
with:

MODIFY
.github/workflows/pr.yml
.github/workflows/pr.yml
@@ -84,7 +84,7 @@ jobs:
# testLatestDeps is intentionally not included in the PR workflow
# because any time a new library version is released to maven central
- # it can fail due to test code incompatibility with the new release,
+ # it can fail due to test code incompatibility with the new library version,
# or due to slight changes in emitted telemetry, which can be confusing for contributors
# (muzzle can also fail when a new library version is released to maven central
# but that happens much less often)

MODIFY
.github/workflows/release-build.yml
.github/workflows/release-build.yml
@@ -39,6 +39,11 @@ jobs:
- name: Test
run: ./gradlew test -PtestJavaVersion=${{ matrix.java }} --stacktrace -x :smoke-tests:test -Porg.gradle.java.installations.paths=${{ steps.setup-test-java.outputs.path }} -Porg.gradle.java.installations.auto-download=false
+ # testLatestDeps is intentionally not included in the release workflow
+ # because any time a new library version is released to maven central
+ # it can fail due to test code incompatibility with the new library version,
+ # or due to slight changes in emitted telemetry
+
smoke-test:
runs-on: ${{ matrix.os }}
strategy:

Minor updates to release yml files (#3349)