From 6c7fdd691661119a5e485729814d381bd68770c2 Mon Sep 17 00:00:00 2001 From: Joe Cotton Date: Wed, 3 Apr 2024 11:35:15 -0600 Subject: [PATCH] 3546 Fix dry run --- .github/workflows/dart_ci.yaml | 1 + .github/workflows/publish.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dart_ci.yaml b/.github/workflows/dart_ci.yaml index bd9a8c1e..9e6630fc 100644 --- a/.github/workflows/dart_ci.yaml +++ b/.github/workflows/dart_ci.yaml @@ -36,5 +36,6 @@ jobs: # TODO https://github.com/Workiva/json_schema/issues/184 # When ^^^ is addressed, remove the --skip-validation flag here - name: Publish - dry run + if: ${{ matrix.sdk == 'stable' }} run: dart pub publish --dry-run --skip-validation diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 1a0eb211..ab448ff4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@v4 - uses: dart-lang/setup-dart@v1 with: - sdk: ${{ matrix.sdk }} + sdk: stable - name: Install dependencies run: dart pub get - name: Publish - dry run