fix: publish workflow name and parse error (#864)

This commit is contained in:
Jacob Bolda 2020-07-19 15:50:56 -05:00 committed by GitHub
parent f8081c0e34
commit 0e8cd1db34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
name: release-npm
name: version or publish
on:
push:
@ -65,7 +65,7 @@ jobs:
- run: echo ::set-env name=PUBLISHED::$(jq '.${{ matrix.package.name }}.command' ${{ needs.version-or-publish.outputs.covector.change }})
- run: echo ::set-env name=PACKAGE_VERSION::$(jq '.${{ matrix.package.name }}.pkg.pkgFile.version' ${{ needs.version-or-publish.outputs.covector.change }})
- name: Tangle Release
if: env.PUBLISHED != 'false' && !startsWith(env.PUBLISHED, "parse error") && !startsWith(env.PACKAGE_VERSION, "parse error")
if: env.PUBLISHED != 'false' && !startsWith(env.PUBLISHED, 'parse error') && !startsWith(env.PACKAGE_VERSION, 'parse error')
id: tangle_release
uses: iotaledger/gh-tangle-release@v0.6.2
env: