diff --git a/action.yml b/action.yml index c7329a9130..805dcc2437 100644 --- a/action.yml +++ b/action.yml @@ -13,6 +13,13 @@ inputs: flank_configuration_file: description: 'Flank configuration file' required: true +outputs: + local_results_directory: + description: "Random number" + value: ${{ steps.output_paths.outputs.local_results_directory }} + gcloud_results_directory: + description: "Random number" + value: ${{ steps.output_paths.outputs.gcloud_results_directory }} runs: using: "composite" steps: @@ -34,3 +41,9 @@ runs: run: | java -jar flank.jar firebase test ${{ inputs.platform }} run -c=${{ inputs.flank_configuration_file }} shell: bash + - id: output_paths + run: | + file_path=$(find -name "flank-links.log") + echo "::set-output name=local_results_directory::$(sed -n '1p' < $file_path)" + echo "::set-output name=gcloud_results_directory::$(sed -n '2p' < $file_path)" + shell: bash