Regenerate dist

This commit is contained in:
Luc Perkins 2024-05-20 09:39:04 -03:00
parent cfa539aa36
commit 148bd72756
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
2 changed files with 7 additions and 4 deletions

9
dist/index.js generated vendored
View file

@ -94816,7 +94816,6 @@ var MagicNixCacheAction = class {
limit: 1, limit: 1,
methods: ["POST", "GET", "PUT", "HEAD", "DELETE", "OPTIONS", "TRACE"] methods: ["POST", "GET", "PUT", "HEAD", "DELETE", "OPTIONS", "TRACE"]
}, },
resolveBodyOnly: false,
hooks: { hooks: {
beforeRetry: [ beforeRetry: [
(error, retryCount) => { (error, retryCount) => {
@ -94997,7 +94996,9 @@ var MagicNixCacheAction = class {
try { try {
core.debug(`Indicating workflow start`); core.debug(`Indicating workflow start`);
const hostAndPort = inputs_exports.getString("listen"); const hostAndPort = inputs_exports.getString("listen");
const res = await this.client.post(`http://${hostAndPort}/api/workflow-start`).json(); const res = await this.client.post(
`http://${hostAndPort}/api/workflow-start`
);
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 ${res.statusCode}`
@ -95028,7 +95029,9 @@ var MagicNixCacheAction = class {
try { try {
core.debug(`about to post to localhost`); core.debug(`about to post to localhost`);
const hostAndPort = inputs_exports.getString("listen"); const hostAndPort = inputs_exports.getString("listen");
const res = await this.client.post(`http://${hostAndPort}/api/workflow-finish`).json(); const res = await this.client.post(
`http://${hostAndPort}/api/workflow-finish`
);
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 ${res.statusCode}`

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long