Skip to content

Commit 39d1b1a

Browse files
committed
chore: add deprecation warning for v1.x releases
This version is no longer maintained. Users should upgrade to v2 as outlined in: https://docs.blacksmith.sh/blacksmith-caching/docker-builds This commit is on the releases/v1 branch and will be used to update all v1.x tags.
1 parent 574eb0e commit 39d1b1a

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ export async function startBlacksmithBuilder(inputs: context.Inputs): Promise<{a
142142
actionsToolkit.run(
143143
// main
144144
async () => {
145+
// deprecation warning: v1.x versions are no longer maintained.
146+
core.warning('⚠️ DEPRECATION WARNING: useblacksmith/build-push-action@v1.x is no longer maintained.');
147+
core.warning('Please upgrade to the newer actions outlined at: https://docs.blacksmith.sh/blacksmith-caching/docker-builds');
148+
core.warning('This version will stop receiving updates and bug fixes.');
149+
145150
await reporter.reportMetric(Metric_MetricType.BPA_FEATURE_USAGE, 1);
146151
const startedTime = new Date();
147152
const inputs: context.Inputs = await context.getInputs();

0 commit comments

Comments
 (0)