unify on single job
diff --git a/.github/workflows/release-notes.yaml b/.github/workflows/release-notes.yaml index b2d298e..aba8906 100644 --- a/.github/workflows/release-notes.yaml +++ b/.github/workflows/release-notes.yaml
@@ -55,19 +55,9 @@ echo "::error file=$CURRENT_RELEASE_JSON_FILE_PATH,line=0,col=0,endColumn=0,title='Release Notes Weren\'t Modified'::Please add a release note entry or a reason to your description using: \`> NO RELEASE NOTE CHANGES: [reason goes here]\`" exit 1 fi - - validation-stuff: - runs-on: ubuntu-latest - name: Validate Release Note File - steps: - - name: Get Pull Request Number - id: get-pull-request-number - run: | - PULL_REQUEST_NUMBER=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH") - echo "::set-output name=PULL_REQUEST_NUMBER::$PULL_REQUEST_NUMBER" - uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603 - - uses: actions/checkout@v3 - - name: Verify the release note integrity + name: Setup Dart + - name: Verify the release note content run: | cd tool/ dart pub get @@ -82,11 +72,3 @@ dart ./release_note_helper.dart pr-url \ -f "../$CURRENT_RELEASE_JSON_FILE_PATH" \ -u https://github.com/flutter/devtools/pull/$PULL_NUMBER - - # - name: Add PR Url to Release Notes - # run: - # - name: Verify release_notes.json integrity - # run: - - -