From fed9595af782f6d0c34cef81f6fd8f25ba3634ac Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Fri, 1 Dec 2023 20:39:38 +0200 Subject: [PATCH] 12 --- .github/workflows/covector-version-or-publish.yml | 11 +---------- package.json | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index 6d1f3c2..1983322 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -33,14 +33,5 @@ jobs: command: "publish" createRelease: true - - uses: actions/github-script@v6 - id: set-result - with: - result-encoding: string - script: | - const output = `${{ toJSON(steps.covector.outputs) }}`; - const [_, id] = /"-org-dashed-pkg-releaseId": "([0-9]+)"/g.exec(output); - return id; - - name: Get result - run: echo "${{steps.set-result.outputs.result}}" + run: echo "${{steps.covector.outputs['-org-dashed-pkg-releaseId']}}" diff --git a/package.json b/package.json index 467332a..a73478b 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,4 @@ { "name": "@org-dashed/pkg", - "version": "0.11.0" + "version": "0.12.0" }