Skip to content

Commit

Permalink
almost there
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisInSky committed Nov 6, 2024
1 parent 37a74b7 commit ea23696
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
pull_request:
paths:
- '.cargo/**'
- '.github/workflows/ci.yml'
- '.github/workflows/rs-ci.yml'
- 'examples/**'
- 'rs/**'
- 'templates/**'
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/rs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ jobs:
runs-on: ubuntu-latest
needs:
- prepare
#- ws_tests
#- cli_tests
- ws_tests
- cli_tests
defaults:
run:
shell: bash
Expand Down Expand Up @@ -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
Expand All @@ -168,7 +177,7 @@ jobs:
pull-requests: write
needs:
- prepare
- publish
- cli_tests_after_publish
- assets
defaults:
run:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ea23696

Please sign in to comment.