Skip to content

Commit

Permalink
Add working dir parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
fabid committed Oct 17, 2023
1 parent 4043dbc commit d92cbcf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ inputs:
job-name:
description: 'Name of the job to execute'
required: true
working-dir:
description: 'Working dir containing '
required: false
default: "."

runs:
using: "composite"
Expand All @@ -19,5 +23,5 @@ runs:
- name: Run remote job
id: run-job
run: |
ARTEFACTS_KEY=${{ inputs.artefacts-api-key }} artefacts run-remote ${{ inputs.job-name }}
shell: bash
cd ${{inputs.working-dir}} && ARTEFACTS_KEY=${{ inputs.artefacts-api-key }} artefacts run-remote ${{ inputs.job-name }}
shell: bash

0 comments on commit d92cbcf

Please sign in to comment.