File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 27
27
28
28
# ** FOR GENERAL USE, SHOULD NOT NEED TO CHANGE **
29
29
instance : iris
30
- artifacts : artifacts
30
+ artifact_dir : build-artifacts
31
+
31
32
# Note: test_reports value is duplicated in test_flags environment variable
32
33
test_reports : test-reports
33
34
test_flags : >-
47
48
mkdir $test_reports
48
49
chmod 777 $test_reports
49
50
51
+ mkdir $artifact_dir
52
+ chmod 777 $artifact_dir
53
+
50
54
# Run InterSystems IRIS Instance
51
55
docker pull $container_image
52
- docker run -d -h $instance --name $instance -v $GITHUB_WORKSPACE:/source:rw -v $GITHUB_WORKSPACE/$test_reports:/$test_reports -v $GITHUB_WORKSPACE/$artifacts :/$artifacts --init $container_image
56
+ docker run -d -h $instance --name $instance -v $GITHUB_WORKSPACE:/source:rw -v $GITHUB_WORKSPACE/$test_reports:/$test_reports -v $GITHUB_WORKSPACE/$artifact_dir :/$artifact_dir --init $container_image
53
57
echo halt > wait
54
58
# Wait for instance to be ready
55
59
until docker exec --interactive $instance iris session $instance < wait; do sleep 1; done
77
81
run : |
78
82
#
79
83
echo "set version=##class(%ZPM.PackageManager.Developer.Module).NameOpen(\"git-source-control\").Version" > package
80
- echo "do ##class(SourceControl.Git.Utils).BuildCEInstallationPackage(\"$artifacts /git-source-control-\"_version_\".xml\")" >> package
84
+ echo "do ##class(SourceControl.Git.Utils).BuildCEInstallationPackage(\"$artifact_dir /git-source-control-\"_version_\".xml\")" >> package
81
85
echo "halt" >> package
82
86
docker exec --interactive $instance iris session $instance -B < package
83
87
86
90
if : always()
87
91
with :
88
92
name : " PreIRISInstallationPackage"
89
- path : ${{ artifacts }}
93
+ path : ${{ env.artifact_dir }}
90
94
91
95
- name : XUnit Viewer
92
96
id : xunit-viewer
You can’t perform that action at this time.
0 commit comments