Skip to content

Commit c6cde9f

Browse files
authored
Merge pull request #16584 from hd23408/master
GitHub Actions workflow cleanup
2 parents b0e524d + 48f2261 commit c6cde9f

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/master_build.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
echo "::set-env name=SYMBOL_REGEX::\(exe\|dll\|pdb\)"
131131
echo "::set-output name=symbols_archive::${{ steps.buildnumber.outputs.build_number }}-${{ matrix.build_type }}-win-symbols.zip"
132132
fi
133-
# Configureation is broken into two steps because you can't set an env var and also reference it in the same step
133+
# Configuration is broken into two steps because you can't set an env var and also reference it in the same step
134134
- name: Configure Build Environment 2
135135
shell: bash
136136
run: |
@@ -159,6 +159,11 @@ jobs:
159159
echo ::set-env name=HF_PFX_PASSPHRASE::${{secrets.pfx_key}}
160160
echo "::set-env name=HF_PFX_FILE::${{runner.workspace}}\build\codesign.pfx"
161161
fi
162+
- name: Clear Working Directory
163+
if: matrix.os[1] == 'windows'
164+
shell: bash
165+
working-directory: ${{runner.workspace}}
166+
run: rm -rf ./*
162167
- uses: actions/checkout@v1
163168
with:
164169
submodules: true
@@ -228,7 +233,7 @@ jobs:
228233
run: |
229234
SYMBOLS_TEMP="symbols-temp"
230235
mkdir $SYMBOLS_TEMP
231-
find "${{runner.workspace}}/build" \( -path '*/tools/gpu-frame-player/*' -or -path '*/interface/*' -or -path '*/plugins/*' \) -regex ".*\.$SYMBOL_REGEX" -exec cp -r {} $SYMBOLS_TEMP \;
236+
find "./build" \( -path '*/tools/gpu-frame-player/*' -or -path '*/interface/*' -or -path '*/plugins/*' \) -regex ".*\.$SYMBOL_REGEX" -exec cp -r {} $SYMBOLS_TEMP \;
232237
cd $SYMBOLS_TEMP
233238
$ZIP_COMMAND $ZIP_ARGS ../${{ steps.buildenv1.outputs.symbols_archive }} .
234239
- name: Upload Symbols

.github/workflows/pr_build.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,19 @@ jobs:
5656
echo ::set-env name=INSTALLER_EXT::exe
5757
echo ::set-env name=CMAKE_EXTRA::"-A x64"
5858
fi
59-
# Configureation is broken into two steps because you can't set an env var and also reference it in the same step
59+
# Configuration is broken into two steps because you can't set an env var and also reference it in the same step
6060
- name: Configure Build Environment 2
6161
shell: bash
6262
run: |
6363
echo "${{ steps.buildenv1.outputs.symbols_archive }}"
6464
echo ::set-env name=ARTIFACT_PATTERN::HighFidelity-Beta-*.$INSTALLER_EXT
6565
# Build type variables
6666
echo ::set-env name=INSTALLER::HighFidelity-Beta-$RELEASE_NUMBER-$GIT_COMMIT_SHORT.$INSTALLER_EXT
67+
- name: Clear Working Directory
68+
if: matrix.os[1] == 'windows'
69+
shell: bash
70+
working-directory: ${{runner.workspace}}
71+
run: rm -rf ./*
6772
- uses: actions/checkout@v1
6873
with:
6974
submodules: true

0 commit comments

Comments
 (0)