diff --git a/.gitea/workflows/tryActions.yaml b/.gitea/workflows/tryActions.yaml index 738a5b2..923bbf9 100644 --- a/.gitea/workflows/tryActions.yaml +++ b/.gitea/workflows/tryActions.yaml @@ -18,3 +18,4 @@ jobs: with: url-pattern: https://dl.gitea.com/act_runner/{{VERSION}}/act_runner-{{VERSION}}-linux-arm-7 start-version: 0.1.1 + - run: 'echo Version found and result returned: "${{steps.version-up.outputs.current_version}}"' diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a368c77 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules/.cache/** +node_modules/.cache/prettier/ +node_modules/.cache/prettier/.prettier-caches/*.json +node_modules/.cache/prettier/.prettier-caches/706f51a62288b0ed1d148f635575b4d90c61cdcf.json diff --git a/action.yaml b/action.yaml index 2d03a03..06af747 100644 --- a/action.yaml +++ b/action.yaml @@ -8,8 +8,8 @@ inputs: description: The version number with wich to start. required: true outputs: - max_version: - description: The maximum downloadable version found. + current_version: + description: The maximum currently downloadable version found. runs: using: node12 diff --git a/index.js b/index.js index 0e64798..c6182fa 100644 --- a/index.js +++ b/index.js @@ -70,7 +70,7 @@ async function main() { const start_version = core.getInput("start-version"); const current_version = await increaseVersion(url_pattern, start_version); core.info(`The new version determend is ${current_version}`); - core.setOutput("max_version", current_version); + core.setOutput("current_version", current_version); return current_version; } catch (error) { core.setFailed(`Action failed with error: ${error}`); diff --git a/node_modules/.cache/prettier/.prettier-caches/706f51a62288b0ed1d148f635575b4d90c61cdcf.json b/node_modules/.cache/prettier/.prettier-caches/706f51a62288b0ed1d148f635575b4d90c61cdcf.json deleted file mode 100644 index f70ba27..0000000 --- a/node_modules/.cache/prettier/.prettier-caches/706f51a62288b0ed1d148f635575b4d90c61cdcf.json +++ /dev/null @@ -1 +0,0 @@ -{"0a9cd11a33d0e683718dc953b18cd8ddd9b4087f":{"files":{"index.js":["eet1sBLWVjGy4Iu3o3sSkhGQCig=",true]},"modified":1716927105637}} \ No newline at end of file