Skip to content

Commit 3a6bfd4

Browse files
committed
2.0.0
1 parent e5eb594 commit 3a6bfd4

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/actions/publish/action.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff 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: |

elm.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

0 commit comments

Comments
 (0)