Some more experiments.
All checks were successful
Try out action / Try action (push) Successful in 19s
Try out action / test-job (push) Successful in 0s
Lint / pre-commit Autoupdate (push) Successful in 41s

This commit is contained in:
Philipp Horstenkamp 2024-05-28 23:18:51 +02:00
parent 4537cb7f3e
commit 2b13c99af5
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4
2 changed files with 4 additions and 5 deletions

View File

@ -19,9 +19,8 @@ jobs:
url-pattern: https://dl.gitea.com/act_runner/{{VERSION}}/act_runner-{{VERSION}}-linux-arm-7 url-pattern: https://dl.gitea.com/act_runner/{{VERSION}}/act_runner-{{VERSION}}-linux-arm-7
start-version: 0.1.1 start-version: 0.1.1
- run: | - run: |
echo "Version found and result returned: ${{steps.versionup.outputs.current_version}}" echo Version found and result returned: ${{steps.versionup.outputs.current_version}}
echo "Output current_version is ${{steps.versionup.outputs.current_version}}" echo Output current_version is ${{steps.versionup.outputs.current_version}}
echo "Output current_version is ${{current_version}}"
test-job: test-job:
runs-on: pi runs-on: pi

View File

@ -72,9 +72,9 @@ async function main() {
url_pattern, url_pattern,
start_version, start_version,
)}`; )}`;
const export_to = core.getInput("export-to"); // const export_to = core.getInput("export-to");
core.info(`The new version determend is ${current_version}`); core.info(`The new version determend is ${current_version}`);
core.exportVariable("current_version", `${current_version}`); // core.exportVariable("current_version", `${current_version}`);
core.setOutput("current_version", `${current_version}`); core.setOutput("current_version", `${current_version}`);
} catch (error) { } catch (error) {
core.setFailed(`Action failed with error: ${error}`); core.setFailed(`Action failed with error: ${error}`);