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

Commit

Permalink
Move deprecation message to sources
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Sep 29, 2020
1 parent 22b63fb commit 126d331
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ branding:

inputs:
buildx-version:
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'
description: 'Buildx version. Example: v0.3.0'
default: 'latest'
required: false
qemu-version:
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'
description: 'QEMU static binaries Docker image version. Example: 4.2.0-7'
default: 'latest'
required: false
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

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

8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import * as exec from '@actions/exec';

async function run(): Promise<void> {
try {
core.warning(
'This action is ARCHIVED and will not receive any updates, update your workflows to use the official Docker action docker/setup-buildx-action@v1'
);

if (os.platform() !== 'linux') {
core.setFailed('Only supported on linux platform');
return;
}

core.warning(
'This action is ARCHIVED and will not receive any updates, update your workflows to use the official Docker action docker/setup-buildx-action@v1'
);

const buildxVer: string = core.getInput('buildx-version') || 'latest';
const qemuVer: string = core.getInput('qemu-version') || 'latest';
const dockerConfigHome: string = process.env.DOCKER_CONFIG || path.join(os.homedir(), '.docker');
Expand Down

0 comments on commit 126d331

Please sign in to comment.