Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/linux_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ jobs:
- name: Run script in container
if: ${{ inputs.run-with-docker == true }}
continue-on-error: ${{ inputs.continue-on-error }}
working-directory: ${{ inputs.repository }}
working-directory: ${{ inputs.repository || github.repository }}
env:
ALL_SECRETS: ${{ toJSON(secrets) }}
DOCKER_IMAGE: ${{ steps.calculate-docker-image.outputs.docker-image }}
Expand All @@ -213,7 +213,7 @@ jobs:
- name: Run script outside container
if: ${{ inputs.run-with-docker == false }}
continue-on-error: ${{ inputs.continue-on-error }}
working-directory: ${{ inputs.repository }}
working-directory: ${{ inputs.repository || github.repository }}
env:
ALL_SECRETS: ${{ toJSON(secrets) }}
run: |
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
ALPINE_IMAGE: ${{ inputs.runner == 'linux.arm64.2xlarge' && 'arm64v8/alpine' || '308535385114.dkr.ecr.us-east-1.amazonaws.com/tool/alpine' }}

- name: Prepare artifacts for upload
working-directory: ${{ inputs.repository }}
working-directory: ${{ inputs.repository || github.repository }}
id: check-artifacts
env:
UPLOAD_ARTIFACT_NAME: ${{ inputs.upload-artifact }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ jobs:
submodules: ${{ inputs.submodules }}

- name: Setup useful environment variables
working-directory: ${{ inputs.repository }}
working-directory: ${{ inputs.repository || github.repository }}
run: |
RUNNER_ARTIFACT_DIR="${RUNNER_TEMP}/artifacts"
mkdir -p "${RUNNER_ARTIFACT_DIR}"
Expand All @@ -139,7 +139,7 @@ jobs:
- name: Run script
shell: bash -l {0}
continue-on-error: ${{ inputs.continue-on-error }}
working-directory: ${{ inputs.repository }}
working-directory: ${{ inputs.repository || github.repository }}
env:
ALL_SECRETS: ${{ toJSON(secrets) }}
run: |
Expand All @@ -164,7 +164,7 @@ jobs:

- name: Check if there are potential artifacts and move them to the correct artifact location
shell: bash -l {0}
working-directory: ${{ inputs.repository }}
working-directory: ${{ inputs.repository || github.repository }}
id: check-artifacts
if: ${{ inputs.upload-artifact != '' }}
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- name: Run script
shell: bash -l {0}
continue-on-error: ${{ inputs.continue-on-error }}
working-directory: ${{ inputs.repository }}
working-directory: ${{ inputs.repository || github.repository }}
run: |
EXEC_SCRIPT="${RUNNER_TEMP}/exec_script"
{
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:

- name: Check if there are potential artifacts and move them to the correct artifact location
shell: bash -l {0}
working-directory: ${{ inputs.repository }}
working-directory: ${{ inputs.repository || github.repository }}
id: check-artifacts
if: ${{ inputs.upload-artifact != '' }}
env:
Expand Down