Skip to content
Merged
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelog

## [1.0.11] - 2026-05-04

### Deprecated

- **`@v1` is deprecated.** v1 runs on Node.js 20, which reached [end-of-life on 2026-04-30](https://nodejs.org/en/about/previous-releases). Please migrate to [`@v2`](https://github.com/cloudsmith-io/cloudsmith-cli-action/tree/v2#readme), which runs on Node.js 24.
- **Security-only patches** for `@v1` will continue until **2026-12-31**, after which `@v1` reaches end-of-life. No new features or non-security fixes will land on `@v1` in the meantime.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@

This GitHub Action installs the Cloudsmith CLI and pre-authenticates it using OIDC or API Key. 🚀

> **🛑 `@v1` is DEPRECATED — please migrate to `@v2`.**
>
> `@v1` runs on Node.js 20, which reached [end-of-life on 2026-04-30](https://nodejs.org/en/about/previous-releases). Please migrate to [`@v2`](https://github.com/cloudsmith-io/cloudsmith-cli-action/tree/v2#readme), which runs on Node.js 24.
>
> - **Migration guide:** see the [v2 README](https://github.com/cloudsmith-io/cloudsmith-cli-action/tree/v2#readme) for breaking changes (Node.js 24 runtime, OIDC audience default).
> - **Security-only patches** for `@v1` will continue until **2026-12-31**, after which `@v1` reaches end-of-life. No new features or non-security fixes will land on `@v1` in the meantime.
> - To migrate, change `cloudsmith-io/cloudsmith-cli-action@v1` → `cloudsmith-io/cloudsmith-cli-action@v2` in your workflows.

> **⚠️ Notice:** If you are running on self-hosted runners, Python version 3.9 or higher is required. Please ensure your runner meets this requirement to avoid any issues. We recommend using [setup-python](https://github.com/actions/setup-python) action for installing Python. 🐍

## Inputs
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Cloudsmith CLI Setup
description: Set up Cloudsmith CLI in GitHub Actions
description: '[DEPRECATED — migrate to @v2] Set up Cloudsmith CLI in GitHub Actions'
author: BartoszBlizniak
inputs:
cli-version:
Expand Down
8 changes: 7 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35615,7 +35615,7 @@ fs.mkdirSync(path.dirname(EXECUTABLE_PATH), { recursive: true });
async function downloadFile(url, dest) {
const res = await fetch(url);
if (!res.ok) {
throw new Error(`Failed to fetch ${url}: ${res.statusText}`);
throw new Error(`Failed to fetch ${url} : ${res.statusText}`);
}
const fileStream = fs.createWriteStream(dest);
await new Promise((resolve, reject) => {
Expand Down Expand Up @@ -45703,6 +45703,12 @@ const { createConfigFile } = __nccwpck_require__(3145);

async function run() {
try {
core.warning(
"cloudsmith-cli-action @v1 is DEPRECATED. v1 runs on Node.js 20, which reached end-of-life on 2026-04-30 (https://nodejs.org/en/about/previous-releases). " +
"Please migrate to @v2, which runs on Node.js 24. Security-only patches for v1 will continue until 2026-12-31. " +
"Migration guide: https://github.com/cloudsmith-io/cloudsmith-cli-action/tree/v2#readme",
);

// Get inputs from GitHub Actions workflow
const orgName = core.getInput("oidc-namespace");
const serviceAccountSlug = core.getInput("oidc-service-slug");
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudsmith-github-action",
"version": "1.0.3",
"version": "1.0.11",
"description": "A GitHub Action to install Cloudsmith CLI and authenticate using OIDC",
"main": "dist/index.js",
"scripts": {
Expand Down
6 changes: 6 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ const { createConfigFile } = require("./create-config-file");

async function run() {
try {
core.warning(
"cloudsmith-cli-action @v1 is DEPRECATED. v1 runs on Node.js 20, which reached end-of-life on 2026-04-30 (https://nodejs.org/en/about/previous-releases). " +
"Please migrate to @v2, which runs on Node.js 24. Security-only patches for v1 will continue until 2026-12-31. " +
"Migration guide: https://github.com/cloudsmith-io/cloudsmith-cli-action/tree/v2#readme",
);

// Get inputs from GitHub Actions workflow
const orgName = core.getInput("oidc-namespace");
const serviceAccountSlug = core.getInput("oidc-service-slug");
Expand Down
Loading