From 9c76216823efd01dd1b881178118cda663400ef5 Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Wed, 4 Jan 2023 14:00:32 +0400 Subject: [PATCH] Fix action script --- .github/workflows/publish.yml | 2 +- index.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f6a7f75..60fa5b1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,7 +26,7 @@ jobs: - name: Get Package Version id: package-version - run: node -e \"require('./utils').actionVersion()\" >> $GITHUB_OUTPUT + run: node -p "require('./utils').actionVersion()" >> $GITHUB_OUTPUT # - name: Publish # run: | diff --git a/index.d.ts b/index.d.ts index 4704c81..fc86c78 100644 --- a/index.d.ts +++ b/index.d.ts @@ -84,7 +84,7 @@ declare module "addon-tools-raub" { * ``` * - name: Get Package Version * id: package-version - * run: node -e \"require('addon-tools-raub').actionVersion()\" >> $GITHUB_OUTPUT + * run: node -p "require('addon-tools-raub').actionVersion()" >> $GITHUB_OUTPUT * - name: Create Release * uses: softprops/action-gh-release@v1 * with: @@ -101,7 +101,7 @@ declare module "addon-tools-raub" { * ``` * - name: Zip Files * id: zip-files - * run: node action-zip >> $GITHUB_OUTPUT + * run: node -p "require('addon-tools-raub').actionZip()" >> $GITHUB_OUTPUT * - name: Store Binaries * uses: softprops/action-gh-release@v1 * with: