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: