Skip to content
This repository was archived by the owner on Jan 23, 2021. It is now read-only.

Commit 126d331

Browse files
committed
Move deprecation message to sources
1 parent 22b63fb commit 126d331

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ branding:
88

99
inputs:
1010
buildx-version:
11-
deprecationMessage: 'This action is ARCHIVED and will not receive any updates, update your workflows to use the official Docker action docker/setup-buildx-action@v1'
1211
description: 'Buildx version. Example: v0.3.0'
1312
default: 'latest'
1413
required: false
1514
qemu-version:
16-
deprecationMessage: 'This action is ARCHIVED and will not receive any updates, update your workflows to use the official Docker action docker/setup-buildx-action@v1'
1715
description: 'QEMU static binaries Docker image version. Example: 4.2.0-7'
1816
default: 'latest'
1917
required: false

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.

src/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ import * as exec from '@actions/exec';
88

99
async function run(): Promise<void> {
1010
try {
11+
core.warning(
12+
'This action is ARCHIVED and will not receive any updates, update your workflows to use the official Docker action docker/setup-buildx-action@v1'
13+
);
14+
1115
if (os.platform() !== 'linux') {
1216
core.setFailed('Only supported on linux platform');
1317
return;
1418
}
1519

16-
core.warning(
17-
'This action is ARCHIVED and will not receive any updates, update your workflows to use the official Docker action docker/setup-buildx-action@v1'
18-
);
19-
2020
const buildxVer: string = core.getInput('buildx-version') || 'latest';
2121
const qemuVer: string = core.getInput('qemu-version') || 'latest';
2222
const dockerConfigHome: string = process.env.DOCKER_CONFIG || path.join(os.homedir(), '.docker');

0 commit comments

Comments
 (0)