@ever-works/github-actions-build-plugin 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -1
- package/dist/index.js +6 -1
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -1268,9 +1268,14 @@ function verifyInRunnerStep(verifyRunnerScript) {
|
|
|
1268
1268
|
` if: inputs.${contracts.APP_BUILD_VERIFY_PLAN_INPUT} != ''`,
|
|
1269
1269
|
` timeout-minutes: ${contracts.APP_BUILD_VERIFY_TIMEOUT_MINUTES}`,
|
|
1270
1270
|
" run: |",
|
|
1271
|
-
...scalarBlock(verifyRunnerScript
|
|
1271
|
+
...scalarBlock(stripTrailingNewlines(verifyRunnerScript).split("\n"), 10)
|
|
1272
1272
|
];
|
|
1273
1273
|
}
|
|
1274
|
+
function stripTrailingNewlines(text) {
|
|
1275
|
+
let end = text.length;
|
|
1276
|
+
while (end > 0 && text.charCodeAt(end - 1) === 10) end -= 1;
|
|
1277
|
+
return text.slice(0, end);
|
|
1278
|
+
}
|
|
1274
1279
|
function resultStep(job, secretCheckPresent) {
|
|
1275
1280
|
const script = job === "build" ? [
|
|
1276
1281
|
"set -euo pipefail",
|
package/dist/index.js
CHANGED
|
@@ -1263,9 +1263,14 @@ function verifyInRunnerStep(verifyRunnerScript) {
|
|
|
1263
1263
|
` if: inputs.${APP_BUILD_VERIFY_PLAN_INPUT} != ''`,
|
|
1264
1264
|
` timeout-minutes: ${APP_BUILD_VERIFY_TIMEOUT_MINUTES}`,
|
|
1265
1265
|
" run: |",
|
|
1266
|
-
...scalarBlock(verifyRunnerScript
|
|
1266
|
+
...scalarBlock(stripTrailingNewlines(verifyRunnerScript).split("\n"), 10)
|
|
1267
1267
|
];
|
|
1268
1268
|
}
|
|
1269
|
+
function stripTrailingNewlines(text) {
|
|
1270
|
+
let end = text.length;
|
|
1271
|
+
while (end > 0 && text.charCodeAt(end - 1) === 10) end -= 1;
|
|
1272
|
+
return text.slice(0, end);
|
|
1273
|
+
}
|
|
1269
1274
|
function resultStep(job, secretCheckPresent) {
|
|
1270
1275
|
const script = job === "build" ? [
|
|
1271
1276
|
"set -euo pipefail",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ever-works/github-actions-build-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "GitHub Actions build plugin for Ever Works - turns a commit into an image through a workflow Ever Works writes into the repository (APW-05 plan §4.3)",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Ever Co. LTD",
|
|
@@ -33,23 +33,23 @@
|
|
|
33
33
|
"test:coverage": "vitest run --coverage"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@ever-works/contracts": "^1.0.
|
|
37
|
-
"fflate": "^0.
|
|
36
|
+
"@ever-works/contracts": "^1.0.6",
|
|
37
|
+
"fflate": "^0.8.3",
|
|
38
38
|
"libsodium-wrappers": "^0.7.15",
|
|
39
39
|
"octokit": "^4.0.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@ever-works/plugin": "^1.2.
|
|
42
|
+
"@ever-works/plugin": "^1.2.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@ever-works/plugin": "^1.2.
|
|
45
|
+
"@ever-works/plugin": "^1.2.5",
|
|
46
46
|
"@types/libsodium-wrappers": "^0.7.14",
|
|
47
47
|
"@types/node": "^26.6.4",
|
|
48
48
|
"ajv": "^8.18.0",
|
|
49
|
-
"js-yaml": "^5.
|
|
49
|
+
"js-yaml": "^5.5.0",
|
|
50
50
|
"tsup": "^8.4.0",
|
|
51
51
|
"typescript": "^5.7.3",
|
|
52
|
-
"vitest": "^
|
|
52
|
+
"vitest": "^5.0.5"
|
|
53
53
|
},
|
|
54
54
|
"everworks": {
|
|
55
55
|
"plugin": {
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"url": "https://github.com/ever-works/ever-works/issues"
|
|
81
81
|
},
|
|
82
82
|
"everworksRelease": {
|
|
83
|
-
"contentHash": "sha256:
|
|
84
|
-
"commit": "
|
|
85
|
-
"source": "https://github.com/ever-works/ever-works/tree/
|
|
83
|
+
"contentHash": "sha256:40be91f9e0f3a33cc4fd004e20ec654d1764b1ff08827937f79af550406864fd",
|
|
84
|
+
"commit": "19905c70cf05be3bc523db030597046067cd322a",
|
|
85
|
+
"source": "https://github.com/ever-works/ever-works/tree/19905c70cf05be3bc523db030597046067cd322a/packages/plugins/github-actions-build"
|
|
86
86
|
}
|
|
87
87
|
}
|