@@ -65,19 +65,11 @@ jobs:
6565 ./scripts/osx/ci_install_core.sh
6666 - name : Build PG macOS GUI and command line
6767 run : |
68- # echo "Current directory after moving up: (should be projectGenerator/projectGenerator)"
69- # pwd
68+ # Move up one level to projectGenerator directory
7069 cd ../
71-
72- # echo "Current directory after moving up: (should be projectGenerator/)"
73- # echo "------------------"
74- # pwd
75- # ls
76- # echo "------------------"
7770 if [ -f "openFrameworks/apps/projectGenerator/scripts/osx/ci_build_pg.sh" ]; then
7871 echo "ci_build_pg.sh exists, running script..."
7972 openFrameworks/apps/projectGenerator/scripts/osx/ci_build_pg.sh
80-
8173 else
8274 echo "ci_build_pg.sh does not exist, checking Git status..."
8375 if cd openFrameworks/apps/projectGenerator; then
@@ -124,8 +116,16 @@ jobs:
124116 else
125117 echo "projectGenerator-osx.zip NOT found at level 0"
126118 fi
127- - name : Test cmdline
119+ - name : Test cmdline
128120 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
129129 - name : Update Release macOS
130130 if : github.repository == 'openframeworks/projectGenerator' && github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/bleeding')
131131
0 commit comments