File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 11name : " Continuous Integration"
2- on : [ push ]
2+ on : [ push, release ]
33
44jobs :
55 test :
@@ -248,7 +248,7 @@ jobs:
248248 name : " Distribute Cargo, WASM, and Python Sdist Packages"
249249 needs : [ "build", "build-wheels" ]
250250 runs-on : ubuntu-latest
251- if : " ${{ github.ref == 'refs/heads/master' }} "
251+ if : github.event_name == 'release' && github.event.action == 'published'
252252 steps :
253253 # Check out the code
254254 - uses : " actions/checkout@v3"
@@ -382,13 +382,11 @@ jobs:
382382 distribute-py-wheels :
383383 name : " Distribute Python Wheels"
384384 needs : [ "distribute" ]
385- if : " ${{ github.ref == 'refs/heads/master' }}"
386- # needs: [build_wheels, build_sdist]
387385 runs-on : ubuntu-latest
388386 # upload to PyPI on every tag starting with 'v'
389387 # if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
390388 # alternatively, to publish when a GitHub Release is created, use the following rule:
391- # if: github.event_name == 'release' && github.event.action == 'published'
389+ if : github.event_name == 'release' && github.event.action == 'published'
392390 steps :
393391 - uses : actions/download-artifact@v3
394392 with :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ license = "MIT"
99name = " jsonlogic-rs"
1010readme = " README.md"
1111repository = " https://github.com/bestowinc/json-logic-rs"
12- version = " 0.3.0 "
12+ version = " 0.3.1 "
1313
1414# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1515
You can’t perform that action at this time.
0 commit comments