Skip to content

Commit 5d0a629

Browse files
authored
Avoid name collision with folder
1 parent e46eceb commit 5d0a629

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,19 @@ jobs:
6767
- name: Build and Test
6868
run: |
6969
# Run build
70-
echo "zpm \"load /source $build_flags\":1:1" > build
70+
echo "zpm \"load /source $build_flags\":1:1" > build.script
7171
# Test package is compiled first as a workaround for some dependency issues.
72-
echo "do \$System.OBJ.CompilePackage(\"$test_package\",\"ckd\") " > test
72+
echo "do \$System.OBJ.CompilePackage(\"$test_package\",\"ckd\") " > test.script
7373
# Run tests
74-
echo "zpm \"$package test -only $test_flags\":1:1" >> test
75-
docker exec --interactive $instance iris session $instance -B < build && docker exec --interactive $instance iris session $instance -B < test &&bash <(curl -s https://codecov.io/bash)
74+
echo "zpm \"$package test -only $test_flags\":1:1" >> test.script
75+
docker exec --interactive $instance iris session $instance -B < build.script && docker exec --interactive $instance iris session $instance -B < test.script &&bash <(curl -s https://codecov.io/bash)
7676
7777
- name: Produce CE Artifact
7878
run: |
79-
#
80-
echo "set version=##class(%ZPM.PackageManager.Developer.Module).NameOpen(\"git-source-control\").Version" > package
81-
echo "do ##class(SourceControl.Git.Utils).BuildCEInstallationPackage(\"$artifact_dir/git-source-control-\"_version_\".xml\")" >> package
82-
echo "halt" >> package
83-
docker exec --interactive $instance iris session $instance -B < package
79+
echo "set version=##class(%ZPM.PackageManager.Developer.Module).NameOpen(\"git-source-control\").Version" > package.script
80+
echo "do ##class(SourceControl.Git.Utils).BuildCEInstallationPackage(\"$artifact_dir/git-source-control-\"_version_\".xml\")" >> package.script
81+
echo "halt" >> package.script
82+
docker exec --interactive $instance iris session $instance -B < package.script
8483
8584
- name: Attach CE Artifact
8685
uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)