Initiated the action. #1
@ -19,9 +19,8 @@ jobs:
|
||||
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.versionup.outputs.current_version}}"
|
||||
echo "Output current_version is ${{steps.versionup.outputs.current_version}}"
|
||||
echo "Output current_version is ${{current_version}}"
|
||||
echo Version found and result returned: ${{steps.versionup.outputs.current_version}}
|
||||
echo Output current_version is ${{steps.versionup.outputs.current_version}}
|
||||
|
||||
test-job:
|
||||
runs-on: pi
|
||||
|
4
index.js
4
index.js
@ -72,9 +72,9 @@ async function main() {
|
||||
url_pattern,
|
||||
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.exportVariable("current_version", `${current_version}`);
|
||||
// core.exportVariable("current_version", `${current_version}`);
|
||||
core.setOutput("current_version", `${current_version}`);
|
||||
} catch (error) {
|
||||
core.setFailed(`Action failed with error: ${error}`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user