mirror of
https://github.com/docker/login-action.git
synced 2025-03-31 12:10:05 +02:00
Allow use of this action in non-linux platforms with warning (fixes #47)
This commit is contained in:
parent
4b206288bd
commit
fa97036308
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import * as stateHelper from './state-helper';
|
|||
export async function run(): Promise<void> {
|
||||
try {
|
||||
if (os.platform() !== 'linux') {
|
||||
throw new Error('Only supported on linux platform');
|
||||
core.warning('This action is intented for linux platform. You may experience problems.');
|
||||
}
|
||||
|
||||
const {registry, username, password, logout} = getInputs();
|
||||
|
|
Loading…
Add table
Reference in a new issue