mirror docker/login-action@v2

This commit is contained in:
action-mirror
2026-09-13 22:53:23 +08:00
commit b72ad31b78
38 changed files with 18638 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import {expect, test} from '@jest/globals';
import {getInputs} from '../src/context';
test('with password and username getInputs does not throw error', async () => {
process.env['INPUT_USERNAME'] = 'dbowie';
process.env['INPUT_PASSWORD'] = 'groundcontrol';
process.env['INPUT_LOGOUT'] = 'true';
expect(() => {
getInputs();
}).not.toThrow();
});