@@ -65,19 +65,11 @@ jobs:
65
65
./scripts/osx/ci_install_core.sh
66
66
- name : Build PG macOS GUI and command line
67
67
run : |
68
- # echo "Current directory after moving up: (should be projectGenerator/projectGenerator)"
69
- # pwd
68
+ # Move up one level to projectGenerator directory
70
69
cd ../
71
-
72
- # echo "Current directory after moving up: (should be projectGenerator/)"
73
- # echo "------------------"
74
- # pwd
75
- # ls
76
- # echo "------------------"
77
70
if [ -f "openFrameworks/apps/projectGenerator/scripts/osx/ci_build_pg.sh" ]; then
78
71
echo "ci_build_pg.sh exists, running script..."
79
72
openFrameworks/apps/projectGenerator/scripts/osx/ci_build_pg.sh
80
-
81
73
else
82
74
echo "ci_build_pg.sh does not exist, checking Git status..."
83
75
if cd openFrameworks/apps/projectGenerator; then
@@ -124,8 +116,16 @@ jobs:
124
116
else
125
117
echo "projectGenerator-osx.zip NOT found at level 0"
126
118
fi
127
- - name : Test cmdline
119
+ - name : Test cmdline
128
120
run : ../openFrameworks/apps/projectGenerator/scripts/osx/test_cmdline.sh
121
+
122
+ - name : Update Release macOS-arm64
123
+ if : github.repository == 'openframeworks/projectGenerator' && github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bleeding')
124
+
125
+ with :
126
+ token : ${{ secrets.GITHUB_TOKEN }}
127
+ tag_name : ${{ env.RELEASE }}
128
+ files : dist/projectGenerator-mac-arm64.zip
129
129
- name : Update Release macOS
130
130
if : github.repository == 'openframeworks/projectGenerator' && github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bleeding')
131
131
0 commit comments