Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gaiborjosue authored Oct 10, 2023
1 parent 6f291b3 commit de072f3
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ outputs:
value: ${{ steps.issue-parser.outputs.issueparser_model_info }}
SAMPLEDATA:
value: ${{ steps.get_data.outputs.sample_data }}
CONFIG:
value: ${{ steps.get_model_config.outputs.model_config }}
TESTCOMMAND:
value: ${{ steps.get_test_command.outputs.test_command }}



runs:
Expand Down Expand Up @@ -70,22 +75,27 @@ runs:
run: echo "path=${{ steps.issue-parser.outputs.issueparser_pathNew }}" >> $GITHUB_OUTPUT

- name: Get the Weights
if: ${{ contains(steps.get_updates.outputs.updates, 'ModelWeights') }}
shell: bash
id: get_weights
run: echo "weights=${{ steps.issue-parser.outputs.issueparser_weights }}" >> $GITHUB_OUTPUT

- name: Get Sample Data
if: ${{ contains(steps.get_updates.outputs.updates, 'SampleDataset') }}
shell: bash
id: get_data
run: echo "sample_data=${{ steps.issue-parser.outputs.issueparser_sample-data }}" >> $GITHUB_OUTPUT

- name: Get Test Command
shell: bash
id: get_test_command
run: echo "test_command=${{ steps.issue-parser.outputs.issueparser_testCommand }}" >> $GITHUB_OUTPUT

# Get docker url
- name: Get Config
id: get_model_config
shell: bash
run: echo "model_config=${{ steps.issue-parser.outputs.issueparser_modelConfig }}" >> $GITHUB_OUTPUT

- name: Get Docker URL
# Only if Docker information is in the list updates
if: ${{ contains(steps.get_updates.outputs.updates, 'DockerInformation') }}
shell: bash
id: get_docker_url
id: get_docker
run: echo "docker_url=${{ steps.issue-parser.outputs.issueparser_docker }}" >> $GITHUB_OUTPUT

0 comments on commit de072f3

Please sign in to comment.