1111 workflow_dispatch :
1212
1313jobs :
14- # Build on Linux
1514 buildLinux :
1615 name : ✨ Build on Linux
1716 runs-on : ubuntu-latest
3433 chmod +x ./setup/unix.sh
3534 ./setup/unix.sh
3635
37- - name : Skip SScript Setup Mode
36+ - name : Skip SScript setup mode
3837 run : echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> ~/settings.cocoa
3938
4039 - name : Create Version Tag
4948 name : linuxBuild
5049 path : export/release/linux/bin
5150
52- # Build on Windows
5351 buildWindows :
5452 name : 🌐 Build on Windows
5553 runs-on : windows-latest
7068 setup\windows.bat
7169 shell : cmd
7270
73- - name : Skip SScript Setup Mode
71+ - name : Skip SScript setup mode
7472 run : echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> %USERPROFILE%\settings.cocoa
7573 shell : cmd
7674
8684 name : windowsBuild
8785 path : export/release/windows/bin
8886
89- # Build on macOS
9087 buildMac :
9188 name : 🌟 Build on macOS
9289 runs-on : macos-13
@@ -104,7 +101,7 @@ jobs:
104101 haxelib run lime rebuild lime mac -arch arm64
105102 chmod +x ./setup/unix.sh
106103 sh ./setup/unix.sh
107- - name : Skip SScript Setup Mode
104+ - name : Skip SScript setup mode
108105 run : echo 'oy9:showMacroty8:loopCosti25y10:includeAllfg' >> ~/settings.cocoa
109106
110107 - name : Create Version Tag
@@ -117,29 +114,6 @@ jobs:
117114 name : macBuild
118115 path : export/release/macos/bin
119116
120- # Upload Artifact to GitHub Release
121- uploadRelease :
122- name : Upload to GitHub Release
123- needs : [buildLinux, buildWindows, buildMac]
124- runs-on : ubuntu-latest
125- steps :
126- - name : Checkout Code
127- uses : actions/checkout@v4.1.7
128-
129- - name : Create GitHub Release
130- run : |
131- VERSION_TAG="v${{ github.run_id }}"
132- gh release create $VERSION_TAG \
133- export/release/linux/bin/* export/release/windows/bin/* export/release/macos/bin/* \
134- --title "Release $VERSION_TAG" --notes "Builds for Linux, Windows, and macOS."
135-
136- - name : Upload Artifact to GitHub Release
137- uses : actions/upload-artifact@v4.3.4
138- with :
139- name : releaseArtifacts
140- path : export/release/*
141-
142- # Notify Discord about build status
143117 notifyDiscord :
144118 name : 📣 Notify Discord
145119 runs-on : ubuntu-latest
@@ -150,7 +124,6 @@ jobs:
150124 env :
151125 DISCORD_WEBHOOK : ${{ secrets.DISCORD_WEBHOOK_URL }}
152126 RUN_URL : https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
153- RELEASE_URL : https://github.com/${{ github.repository }}/releases/tag/v${{ github.run_id }}
154127 run : |
155128 STATUS_LINUX="${{ needs.buildLinux.result }}"
156129 STATUS_WIN="${{ needs.buildWindows.result }}"
@@ -172,7 +145,7 @@ jobs:
172145 COLOR=16711680
173146 fi
174147
175- DESCRIPTION="$msg_linux\n$msg_win\n$msg_mac\n\nRelease: [Download Builds]($RELEASE_URL) "
148+ DESCRIPTION="$msg_linux\n$msg_win\n$msg_mac"
176149
177150 curl -H "Content-Type: application/json" \
178151 -X POST \
0 commit comments