mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-26 17:30:34 +01:00
Regenerate dist
This commit is contained in:
parent
a181f8e6e8
commit
6551db427e
2 changed files with 3 additions and 9 deletions
10
dist/index.js
generated
vendored
10
dist/index.js
generated
vendored
|
@ -94998,12 +94998,9 @@ var MagicNixCacheAction = class {
|
||||||
const res = await this.client.post(
|
const res = await this.client.post(
|
||||||
`http://${this.hostAndPort}/api/workflow-start`
|
`http://${this.hostAndPort}/api/workflow-start`
|
||||||
);
|
);
|
||||||
core.debug(
|
|
||||||
`post to /api/workflow-start (status: ${res.statusCode}, body: ${res.body})`
|
|
||||||
);
|
|
||||||
if (res.statusCode !== 200) {
|
if (res.statusCode !== 200) {
|
||||||
this.failInStrictMode(
|
this.failInStrictMode(
|
||||||
`Failed to trigger workflow start hook; expected status 200 but got ${res.statusCode}`
|
`Failed to trigger workflow start hook; expected status 200 but got (status: ${res.statusCode}, body: ${res.body})`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
core.debug(`back from post: ${res.body}`);
|
core.debug(`back from post: ${res.body}`);
|
||||||
|
@ -95033,12 +95030,9 @@ var MagicNixCacheAction = class {
|
||||||
const res = await this.client.post(
|
const res = await this.client.post(
|
||||||
`http://${this.hostAndPort}/api/workflow-finish`
|
`http://${this.hostAndPort}/api/workflow-finish`
|
||||||
);
|
);
|
||||||
core.debug(
|
|
||||||
`post to /api/workflow-finish (status: ${res.statusCode}, body: ${res.body})`
|
|
||||||
);
|
|
||||||
if (res.statusCode !== 200) {
|
if (res.statusCode !== 200) {
|
||||||
this.failInStrictMode(
|
this.failInStrictMode(
|
||||||
`Failed to trigger workflow finish hook; expected status 200 but got ${res.statusCode}`
|
`Failed to trigger workflow finish hook; expected status 200 but got (status: ${res.statusCode}, body: ${res.body})`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
|
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue