Skip to content

Commit 33dce22

Browse files
committed
disable @actions/core
1 parent da8b15d commit 33dce22

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/autorelease-fork.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ jobs:
2323
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2424
- name: Auto release
2525
run: |
26-
yarn add -W @actions/core
26+
# yarn add -W @actions/core
2727
yarn autorelease-fork

.github/workflows/autorelease-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Auto release preview
4545
id: "autorelease"
4646
run: |
47-
yarn add @actions/core -W
47+
# yarn add @actions/core -W
4848
yarn autorelease preview ${{ github.event.issue.number }}
4949
- name: Post comment post release
5050
if: always()

scripts/autorelease-fork.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const fs = require("fs");
22
const { execSync } = require("child_process");
3-
const core = require("@actions/core");
3+
// const core = require("@actions/core");
44

55
const excalidrawDir = `${__dirname}/../packages/excalidraw`;
66
const excalidrawPackage = `${excalidrawDir}/package.json`;
@@ -30,12 +30,12 @@ const publish = () => {
3030
execSync(`yarn --cwd ${excalidrawDir} publish`);
3131

3232
console.info(`Published ${pkg.name}@latest 🎉`);
33-
core.setOutput(
34-
"result",
35-
`**Latest version has been published** [@dwelle/excalidraw@${pkg.version}](https://www.npmjs.com/package/@excalidraw/excalidraw/v/${pkg.version}) :rocket:`,
36-
);
33+
// core.setOutput(
34+
// "result",
35+
// `**Latest version has been published** [@dwelle/excalidraw@${pkg.version}](https://www.npmjs.com/package/@excalidraw/excalidraw/v/${pkg.version}) :rocket:`,
36+
// );
3737
} catch (error) {
38-
core.setOutput("result", "package couldn't be published :warning:!");
38+
// core.setOutput("result", "package couldn't be published :warning:!");
3939
if (error.output) {
4040
console.error("stdout:", error.output[1]?.toString());
4141
console.error("stderr:", error.output[2]?.toString());

0 commit comments

Comments
 (0)