File tree 2 files changed +4
-6
lines changed
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : " Continuous Integration"
2
- on : [ push ]
2
+ on : [ push, release ]
3
3
4
4
jobs :
5
5
test :
@@ -248,7 +248,7 @@ jobs:
248
248
name : " Distribute Cargo, WASM, and Python Sdist Packages"
249
249
needs : [ "build", "build-wheels" ]
250
250
runs-on : ubuntu-latest
251
- if : " ${{ github.ref == 'refs/heads/master' }} "
251
+ if : github.event_name == 'release' && github.event.action == 'published'
252
252
steps :
253
253
# Check out the code
254
254
- uses : " actions/checkout@v3"
@@ -382,13 +382,11 @@ jobs:
382
382
distribute-py-wheels :
383
383
name : " Distribute Python Wheels"
384
384
needs : [ "distribute" ]
385
- if : " ${{ github.ref == 'refs/heads/master' }}"
386
- # needs: [build_wheels, build_sdist]
387
385
runs-on : ubuntu-latest
388
386
# upload to PyPI on every tag starting with 'v'
389
387
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
390
388
# 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'
392
390
steps :
393
391
- uses : actions/download-artifact@v3
394
392
with :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ license = "MIT"
9
9
name = " jsonlogic-rs"
10
10
readme = " README.md"
11
11
repository = " https://github.com/bestowinc/json-logic-rs"
12
- version = " 0.3.0 "
12
+ version = " 0.3.1 "
13
13
14
14
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
15
15
You can’t perform that action at this time.
0 commit comments