Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "5.0.2"
".": "5.0.3"
}
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## [5.0.3](https://github.com/cloudquery/setup-cloudquery/compare/v5.0.2...v5.0.3) (2026-05-01)


### Bug Fixes

* **deps:** Update dependency @actions/core to v3.0.1 ([#897](https://github.com/cloudquery/setup-cloudquery/issues/897)) ([4c19dee](https://github.com/cloudquery/setup-cloudquery/commit/4c19deea463f6db4b60506d7085cf484fe8a5d09))
* **deps:** Update dependency @types/node to v24.12.2 ([#898](https://github.com/cloudquery/setup-cloudquery/issues/898)) ([51a62a8](https://github.com/cloudquery/setup-cloudquery/commit/51a62a826d7d30398a4c3d5417bc97972cb4ee40))
* **deps:** Update dependency ora to v9.4.0 ([#902](https://github.com/cloudquery/setup-cloudquery/issues/902)) ([aae7ed2](https://github.com/cloudquery/setup-cloudquery/commit/aae7ed29a39faeac6cfa858fe36be9bff0ea62e4))
* **deps:** Update dependency prettier to v3.8.3 ([#899](https://github.com/cloudquery/setup-cloudquery/issues/899)) ([43b1b9c](https://github.com/cloudquery/setup-cloudquery/commit/43b1b9c6f183d77833d0d10ad40d849c5182e132))
* **deps:** Update dependency typescript to v6.0.3 ([#900](https://github.com/cloudquery/setup-cloudquery/issues/900)) ([e893d12](https://github.com/cloudquery/setup-cloudquery/commit/e893d12e6c2820909ac9ceeb87034dd3bea94303))
* **deps:** Update eslint packages ([#903](https://github.com/cloudquery/setup-cloudquery/issues/903)) ([80981cb](https://github.com/cloudquery/setup-cloudquery/commit/80981cb386401b3c3bf8ae2304572154985d2bcc))
* **deps:** Update pnpm to v10.33.2 ([#901](https://github.com/cloudquery/setup-cloudquery/issues/901)) ([104db7a](https://github.com/cloudquery/setup-cloudquery/commit/104db7ace1e9247f1704bcff0df554fb3b29efda))

## [5.0.2](https://github.com/cloudquery/setup-cloudquery/compare/v5.0.1...v5.0.2) (2026-04-01)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
role-to-assume: <role-arn>
aws-region: <region>

- uses: cloudquery/setup-cloudquery@b7f7ea62cfec9774ad44a0d9307d0f6c5573bcb6 # v5.0.2 # x-release-please-version
- uses: cloudquery/setup-cloudquery@b7f7ea62cfec9774ad44a0d9307d0f6c5573bcb6 # v5.0.3 # x-release-please-version
name: Setup CloudQuery
with:
# Required. Must be a valid SemVer version
Expand Down
80 changes: 56 additions & 24 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36795,7 +36795,7 @@ __nccwpck_require__.d(__webpack_exports__, {

;// CONCATENATED MODULE: external "os"
const external_os_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("os");
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.0/node_modules/@actions/core/lib/utils.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.1/node_modules/@actions/core/lib/utils.js
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
/**
Expand Down Expand Up @@ -36831,7 +36831,7 @@ function utils_toCommandProperties(annotationProperties) {
};
}
//# sourceMappingURL=utils.js.map
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.0/node_modules/@actions/core/lib/command.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.1/node_modules/@actions/core/lib/command.js


/**
Expand Down Expand Up @@ -36927,7 +36927,7 @@ function escapeProperty(s) {
const external_crypto_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("crypto");
// EXTERNAL MODULE: external "fs"
var external_fs_ = __nccwpck_require__(9896);
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.0/node_modules/@actions/core/lib/file-command.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.1/node_modules/@actions/core/lib/file-command.js
// For internal use, subject to change.
// We use any as a valid input type
/* eslint-disable @typescript-eslint/no-explicit-any */
Expand Down Expand Up @@ -37837,7 +37837,7 @@ class PersonalAccessTokenCredentialHandler {
}
}
//# sourceMappingURL=auth.js.map
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.0/node_modules/@actions/core/lib/oidc-utils.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.1/node_modules/@actions/core/lib/oidc-utils.js
var oidc_utils_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
Expand Down Expand Up @@ -37911,7 +37911,7 @@ class oidc_utils_OidcClient {
}
}
//# sourceMappingURL=oidc-utils.js.map
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.0/node_modules/@actions/core/lib/summary.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.1/node_modules/@actions/core/lib/summary.js
var summary_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
Expand Down Expand Up @@ -38192,7 +38192,7 @@ const _summary = new Summary();
const markdownSummary = (/* unused pure expression or super */ null && (_summary));
const summary = (/* unused pure expression or super */ null && (_summary));
//# sourceMappingURL=summary.js.map
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.0/node_modules/@actions/core/lib/path-utils.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.1/node_modules/@actions/core/lib/path-utils.js

/**
* toPosixPath converts the given path to the posix form. On Windows, \\ will be
Expand Down Expand Up @@ -39356,7 +39356,7 @@ function getExecOutput(commandLine, args, options) {
});
}
//# sourceMappingURL=exec.js.map
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.0/node_modules/@actions/core/lib/platform.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.1/node_modules/@actions/core/lib/platform.js
var platform_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
Expand Down Expand Up @@ -39421,7 +39421,7 @@ function getDetails() {
});
}
//# sourceMappingURL=platform.js.map
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.0/node_modules/@actions/core/lib/core.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/@actions+core@3.0.1/node_modules/@actions/core/lib/core.js
var core_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
Expand Down Expand Up @@ -52251,7 +52251,7 @@ function isInteractive({stream = process.stdout} = {}) {
);
}

;// CONCATENATED MODULE: ./node_modules/.pnpm/stdin-discarder@0.3.1/node_modules/stdin-discarder/index.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/stdin-discarder@0.3.2/node_modules/stdin-discarder/index.js


const ASCII_ETX_CODE = 0x03; // Ctrl+C
Expand All @@ -52268,11 +52268,8 @@ class StdinDiscarder {

const code = typeof chunk === 'string' ? chunk.codePointAt(0) : chunk[0];
if (code === ASCII_ETX_CODE) {
if (external_node_process_.listenerCount('SIGINT') > 0) {
external_node_process_.emit('SIGINT');
} else {
external_node_process_.kill(external_node_process_.pid, 'SIGINT');
}
// Always re-signal the process. Emitting `SIGINT` directly breaks normal Ctrl+C termination when libraries install listeners for cleanup.
external_node_process_.kill(external_node_process_.pid, 'SIGINT');
}
};

Expand Down Expand Up @@ -52340,7 +52337,7 @@ const stdinDiscarder = new StdinDiscarder();

/* harmony default export */ const stdin_discarder = (Object.freeze(stdinDiscarder));

;// CONCATENATED MODULE: ./node_modules/.pnpm/ora@9.3.0/node_modules/ora/index.js
;// CONCATENATED MODULE: ./node_modules/.pnpm/ora@9.4.0/node_modules/ora/index.js



Expand All @@ -52360,6 +52357,8 @@ const SYNCHRONIZED_OUTPUT_DISABLE = '\u001B[?2026l';
// Global state for concurrent spinner detection
const activeHooksPerStream = new Map(); // Stream → ora instance

const validColors = new Set(['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white', 'gray']);

class Ora {
#linesToClear = 0;
#frameIndex = -1;
Expand All @@ -52373,7 +52372,7 @@ class Ora {
#drainHandler;
#deferRenderTimer;
#isDiscardingStdin = false;
color;
#color;

// Helper to execute writes while preventing hook recursion
#internalWrite(fn) {
Expand Down Expand Up @@ -52484,6 +52483,10 @@ class Ora {
this.#options.isSilent = false;
}

if (this.#options.interval !== undefined && !(Number.isInteger(this.#options.interval) && this.#options.interval > 0)) {
throw new Error('The `interval` option must be a positive integer');
}

// Set *after* `this.#stream`.
// Store original interval before spinner setter clears it
const userInterval = this.#options.interval;
Expand Down Expand Up @@ -52629,6 +52632,18 @@ class Ora {
return count;
}

get color() {
return this.#color;
}

set color(value) {
if (value !== undefined && value !== false && !validColors.has(value)) {
throw new Error('The `color` option must be a valid color or `false` to disable');
}

this.#color = value;
}

get isEnabled() {
return this.#options.isEnabled && !this.#options.isSilent;
}
Expand Down Expand Up @@ -52664,8 +52679,8 @@ class Ora {
const {frames} = this.#spinner;
let frame = frames[this.#frameIndex];

if (this.color) {
frame = source[this.color](frame);
if (this.#color) {
frame = source[this.#color](frame);
}

const fullPrefixText = this.#getFullPrefixText(this.#options.prefixText, ' ');
Expand Down Expand Up @@ -52949,25 +52964,42 @@ async function oraPromise(action, options) {
throw new TypeError('Parameter `action` must be a Function or a Promise');
}

const {successText, failText} = typeof options === 'object'
const {
successText,
failText,
successSymbol,
failSymbol,
} = typeof options === 'object'
? options
: {successText: undefined, failText: undefined};
: {};

const spinner = ora(options).start();

try {
const promise = actionIsFunction ? action(spinner) : action;
const result = await promise;

spinner.succeed(successText === undefined
const text = successText === undefined
? undefined
: (typeof successText === 'string' ? successText : successText(result)));
: (typeof successText === 'string' ? successText : successText(result));

if (successSymbol === undefined) {
spinner.succeed(text);
} else {
spinner.stopAndPersist({symbol: successSymbol, text});
}

return result;
} catch (error) {
spinner.fail(failText === undefined
const text = failText === undefined
? undefined
: (typeof failText === 'string' ? failText : failText(error)));
: (typeof failText === 'string' ? failText : failText(error));

if (failSymbol === undefined) {
spinner.fail(text);
} else {
spinner.stopAndPersist({symbol: failSymbol, text});
}

throw error;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudquery/setup-cloudquery",
"version": "5.0.2",
"version": "5.0.3",
"description": "Setup CloudQuery CLI in a GitHub action environment",
"main": "dist/index.js",
"type": "module",
Expand Down
Loading