From ea2369680b1ce026f04a7cb9f92372106c3aba43 Mon Sep 17 00:00:00 2001 From: Dennis Dyatlov Date: Wed, 6 Nov 2024 18:48:48 +0000 Subject: [PATCH] almost there --- .github/workflows/rs-ci.yml | 2 +- .github/workflows/rs-release.yml | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/rs-ci.yml b/.github/workflows/rs-ci.yml index d2e3a7fc..df7d455d 100644 --- a/.github/workflows/rs-ci.yml +++ b/.github/workflows/rs-ci.yml @@ -15,7 +15,7 @@ on: pull_request: paths: - '.cargo/**' - - '.github/workflows/ci.yml' + - '.github/workflows/rs-ci.yml' - 'examples/**' - 'rs/**' - 'templates/**' diff --git a/.github/workflows/rs-release.yml b/.github/workflows/rs-release.yml index cd8cdad4..1e361c79 100644 --- a/.github/workflows/rs-release.yml +++ b/.github/workflows/rs-release.yml @@ -128,8 +128,8 @@ jobs: runs-on: ubuntu-latest needs: - prepare - #- ws_tests - #- cli_tests + - ws_tests + - cli_tests defaults: run: shell: bash @@ -160,6 +160,15 @@ jobs: git commit -m "build(tmpl): update version to v${{ needs.prepare.outputs.r_version }} in contract template" git push origin "${{ needs.prepare.outputs.rc_branch }}" + cli_tests_after_publish: + name: Run CLI Tests After Publish + needs: + - prepare + - publish + uses: ./.github/workflows/rs-run-cli-tests.yml + with: + sources_ref: ${{ needs.prepare.outputs.rc_branch }} + release: name: Create Release runs-on: ubuntu-latest @@ -168,7 +177,7 @@ jobs: pull-requests: write needs: - prepare - - publish + - cli_tests_after_publish - assets defaults: run: @@ -219,10 +228,8 @@ jobs: draft: true body: | :exclamation: This is a draft release. - :exclamation: Please review the changes and publish the release. + :exclamation: Please write/generate change notes and publish the release. :exclamation: Please also check this [PR](${{ steps.sync_pr.outputs.url }}) to sync the changes to master. - generate_release_notes: true - append_body: true fail_on_unmatched_files: true files: | ./assets/sails_idl_parser/sails_idl_parser.wasm