From b818438be11ed4feb5ef2601b4d56a553bd2499b Mon Sep 17 00:00:00 2001 From: Slawomir Jaranowski Date: Mon, 6 Apr 2020 22:37:48 +0200 Subject: [PATCH] fix mirrors example --- .github/workflows/test.yml | 2 +- .gitignore | 1 + action.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d0e136b9..8c13710a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,7 +34,7 @@ jobs: with: servers: '[{"id": "serverId", "username": "username", "password": "password"}]' properties: '[{"prop1": "value1"}, {"prop2": "value2"}]' - mirrors: '[{"id": "mirrorId", "name": "mirrorName", "mirrorOf": "mirrorOf", "url: "mirrorUrl"}]' + mirrors: '[{"id": "mirrorId", "name": "mirrorName", "mirrorOf": "mirrorOf", "url": "mirrorUrl"}]' sonatypeSnapshots: true - run: cat ~/.m2/settings.xml diff --git a/.gitignore b/.gitignore index 23c2fd1d..001d8457 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules/ # Editors .vscode +.idea # Logs logs diff --git a/action.yml b/action.yml index 051aadc6..aac3959c 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,7 @@ inputs: description: 'servers definition in joson array, eg: [{"id": "serverId", "username": "username", "password": "password"}]' required: false mirrors: - description: 'mirrors definition in json array, eg: [{"id": "id", "name": "name", "mirrorOf": "mirrorOf", "url: "url"}]' + description: 'mirrors definition in json array, eg: [{"id": "id", "name": "name", "mirrorOf": "mirrorOf", "url": "url"}]' required: false properties: description: 'json array with properties, eg [{"propertyName1": "propertyValue1"}, {"propertyName2": "propertyValue2"}]'