diff --git a/action.yml b/action.yml index b461f5d..4c67069 100644 --- a/action.yml +++ b/action.yml @@ -14,12 +14,21 @@ inputs: endpoint: description: 'Endpoint to submit the job' required: true + environment: + description: 'Nomad environment value' + required: false + aws_account_id: + description: 'Nomad AWS Account ID value' + required: false runs: using: "composite" steps: - name: Submit Job shell: bash + env: + NOMAD_VAR_environment: ${{ inputs.environment }} + NOMAD_VAR_aws_account_id: ${{ inputs.aws_account_id }} run: | curl -X POST \ -H "X-API-Key: ${{ inputs.token }}" \