Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 43585d8

Browse files
authored
handle azcopy's rename of NOTICES.txt (#602)
1 parent 6a82f57 commit 43585d8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,13 @@ jobs:
297297
find artifacts
298298
mkdir release-artifacts
299299
cp -r src/runtime-tools src/deployment/tools
300-
cp artifacts/azcopy/azcopy artifacts/azcopy/ThirdPartyNotice.txt src/deployment/tools/linux
301-
cp artifacts/azcopy/azcopy.exe artifacts/azcopy/ThirdPartyNotice.txt src/deployment/tools/win64
300+
if [ -f artifacts/azcopy/NOTICE.txt ]; then
301+
cp artifacts/azcopy/azcopy artifacts/azcopy/NOTICE.txt src/deployment/tools/linux
302+
cp artifacts/azcopy/azcopy.exe artifacts/azcopy/NOTICE.txt src/deployment/tools/win64
303+
else
304+
cp artifacts/azcopy/azcopy artifacts/azcopy/ThirdPartyNotice.txt src/deployment/tools/linux
305+
cp artifacts/azcopy/azcopy.exe artifacts/azcopy/ThirdPartyNotice.txt src/deployment/tools/win64
306+
fi
302307
cp artifacts/agent/onefuzz-supervisor.exe src/deployment/tools/win64/
303308
cp artifacts/agent/onefuzz-agent.exe src/deployment/tools/win64/
304309
cp artifacts/agent/onefuzz_supervisor.pdb src/deployment/tools/win64/

0 commit comments

Comments
 (0)