File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -4,22 +4,22 @@ shopt -s nullglob
4
4
5
5
if ([ " $OS_NAME " = " macos-10.15" ] || [ " $OS_NAME " = " macos-13" ]) && [ " $PACKAGE " = " ON" ]; then
6
6
sudo chmod -R +w /usr/local/Cellar
7
-
8
- base_path=" /Users/runner/work/supertux/supertux/build/_CPack_Packages/Darwin/Bundle"
9
- maybe_target=$( find $base_path -type d -depth -maxdepth 1)
10
- directory_name=$( basename $maybe_target )
11
- echo " Well, here's the example target:"
12
- echo $maybe_target
13
- echo " And here's the basename:"
14
- echo $directory_name
15
-
16
- /usr/bin/hdiutil create -debug -ov -srcfolder $maybe_target -volname " SuperTux v0.6.3-1698-g56492b0c8" -fs " HFS+" -format UDRW " $base_path /temp.dmg"
17
7
18
8
# Workaround resource busy bug on github on MacOS 13
19
9
# https://github.com/actions/runner-images/issues/7522
20
10
i=0
21
11
until
22
12
cpack -G Bundle;
13
+
14
+ base_path=" /Users/runner/work/supertux/supertux/build/_CPack_Packages/Darwin/Bundle"
15
+ maybe_target=$( find $base_path -type d -depth -maxdepth 1)
16
+ directory_name=$( basename $maybe_target )
17
+ echo " Well, here's the example target:"
18
+ echo $maybe_target
19
+ echo " And here's the basename:"
20
+ echo $directory_name
21
+
22
+ /usr/bin/hdiutil create -debug -ov -srcfolder $maybe_target -volname " SuperTux v0.6.3-1698-g56492b0c8" -fs " HFS+" -format UDRW " $base_path /temp.dmg"
23
23
do
24
24
if [ $i -eq 10 ]; then exit 1; fi
25
25
i=$(( i+ 1 ))
You can’t perform that action at this time.
0 commit comments