Initiated the action. #1

Merged
Philipp merged 28 commits from philipp-patch-1 into main 2024-05-28 23:29:17 +02:00
302 changed files with 38366 additions and 20 deletions
Showing only changes of commit c85d2fd10e - Show all commits

View File

@ -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}}"'

4
.gitignore vendored Normal file
View File

@ -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

View File

@ -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

View File

@ -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}`);

View File

@ -1 +0,0 @@
{"0a9cd11a33d0e683718dc953b18cd8ddd9b4087f":{"files":{"index.js":["eet1sBLWVjGy4Iu3o3sSkhGQCig=",true]},"modified":1716927105637}}