mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-23 13:32:03 +01:00
Regenerate dist
This commit is contained in:
parent
fe4aeab234
commit
d53320e748
2 changed files with 7 additions and 1 deletions
6
dist/index.js
generated
vendored
6
dist/index.js
generated
vendored
|
@ -94998,6 +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(
|
||||||
|
`Response from 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 (status: ${res.statusCode}, body: ${res.body})`
|
`Failed to trigger workflow start hook; expected status 200 but got (status: ${res.statusCode}, body: ${res.body})`
|
||||||
|
@ -95030,6 +95033,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(
|
||||||
|
`Response from 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 (status: ${res.statusCode}, body: ${res.body})`
|
`Failed to trigger workflow finish hook; expected status 200 but got (status: ${res.statusCode}, body: ${res.body})`
|
||||||
|
|
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