File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,16 +31,22 @@ runs:
3131 - run : pnpm install
3232 shell : bash
3333
34+ - name : Check if publishable
35+ id : publish-check
36+ uses : dillonkearns/elm-publish-action@v2
37+ with :
38+ dry-run : true
39+ path-to-elm : ${{ inputs.path-to-elm }}
40+
3441 - name : Publish to Elm registry
35- id : elm- publish
42+ if : ${{ inputs.dry-run == 'false' && steps. publish-check.outputs.is-publishable == 'true' }}
3643 uses : dillonkearns/elm-publish-action@v2
3744 with :
3845 github-token : ${{ inputs.github-token }}
3946 path-to-elm : ${{ inputs.path-to-elm }}
40- dry-run : ${{ inputs.dry-run }}
4147
4248 - name : Create GitHub Release
43- if : inputs.dry-run == false && success()
49+ if : ${{ inputs.dry-run == ' false' && steps.publish-check.outputs.is-publishable == 'true' }}
4450 env :
4551 GH_TOKEN : ${{ inputs.github-token }}
4652 run : |
Original file line number Diff line number Diff line change 33 "name" : " jamesrweb/elm-combinators" ,
44 "summary" : " A combinatory logic library for ELM." ,
55 "license" : " BSD-3-Clause" ,
6- "version" : " 1.1.1 " ,
6+ "version" : " 2.0.0 " ,
77 "exposed-modules" : [" Combinators" , " Combinators.Future" ],
88 "elm-version" : " 0.19.0 <= v < 0.20.0" ,
99 "dependencies" : {
Original file line number Diff line number Diff line change 11{
22 "name" : " elm-combinators" ,
3- "version" : " 1.1.1 " ,
3+ "version" : " 2.0.0 " ,
44 "description" : " Combinatory logic in Elm" ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments