Skip to content

Commit 4f8bb9e

Browse files
committed
remove dredundant pkg diff step
1 parent 9c6f448 commit 4f8bb9e

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -319,27 +319,10 @@ jobs:
319319
env:
320320
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
321321

322-
is_new_sdk_ref:
323-
name: Is new SDK reference?
324-
runs-on: ubuntu-latest
325-
outputs:
326-
new_sdk_ref: ${{ steps.sdk-changes.outputs.new_sdk_ref }}
327-
steps:
328-
- name: Checkout Repo
329-
uses: actions/checkout@v3
330-
with:
331-
fetch-depth: 2
332-
333-
- name: Check if SDK changes
334-
id: sdk-changes
335-
run: |
336-
IS_NEW_SDK_REF=$(./.github/scripts/is_new_sdk_ref.sh)
337-
echo "new_sdk_ref=$IS_NEW_SDK_REF" >> "$GITHUB_OUTPUT"
338-
339322
generate_sdk_ref:
340323
name: Generate SDK reference
341-
needs: [is_release, python-tests, js-tests, is_new_sdk_ref]
342-
if: (!cancelled()) && !contains(needs.*.result, 'failure') && needs.is_release.outputs.release == 'true' && needs.is_new_sdk_ref.outputs.new_sdk_ref == 'true'
324+
needs: [is_release, python-tests, js-tests]
325+
if: (!cancelled()) && !contains(needs.*.result, 'failure') && needs.is_release.outputs.release == 'true'
343326
uses: ./.github/workflows/generate_sdk_ref.yml
344327
secrets: inherit
345328

0 commit comments

Comments
 (0)