Skip to content

Commit a68ab6e

Browse files
committed
chore: add deprecation warning for v1.1
This version is no longer maintained. Users should upgrade to v2 as outlined in: https://docs.blacksmith.sh/blacksmith-caching/docker-builds
1 parent 5646913 commit a68ab6e

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
@@ -114,6 +114,11 @@ export async function startBlacksmithBuilder(inputs: context.Inputs): Promise<{a
114114
actionsToolkit.run(
115115
// main
116116
async () => {
117+
// deprecation warning: this version is no longer maintained.
118+
core.warning('⚠️ DEPRECATION WARNING: useblacksmith/build-push-action@v1.1 is no longer maintained.');
119+
core.warning('Please upgrade to the newer actions outlined at: https://docs.blacksmith.sh/blacksmith-caching/docker-builds');
120+
core.warning('This version will stop receiving updates and bug fixes.');
121+
117122
await reporter.reportMetric(Metric_MetricType.BPA_FEATURE_USAGE, 1);
118123
const startedTime = new Date();
119124
const inputs: context.Inputs = await context.getInputs();

0 commit comments

Comments
 (0)