File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -147,10 +147,11 @@ jobs:
147147 runs-on : ubuntu-24.04
148148 strategy :
149149 matrix :
150- build_type : [Debug, Release]
150+ build_type : [Debug, Release, RelWithDebInfo, MinSizeRel ]
151151 env :
152152 EM_VERSION : 4.0.5
153153 EM_CACHE_FOLDER : " emsdk-cache"
154+ itch_deploy_type : Release
154155 steps :
155156 - uses : actions/checkout@v4
156157 with :
@@ -196,7 +197,7 @@ jobs:
196197 if-no-files-found : error
197198 compression-level : 6
198199 - name : Install Butler
199- if : github.ref == 'refs/heads/main' && matrix.build_type == 'Release'
200+ if : github.ref == 'refs/heads/main' && matrix.build_type == env.itch_deploy_type
200201 run : |
201202 mkdir ~/bin
202203 cd ~/bin
@@ -206,7 +207,7 @@ jobs:
206207 echo "~/bin" >> $GITHUB_PATH
207208 ~/bin/butler -V
208209 - name : Upload to Itch
209- if : github.ref == 'refs/heads/main' && matrix.build_type == 'Release'
210+ if : github.ref == 'refs/heads/main' && matrix.build_type == env.itch_deploy_type
210211 env :
211212 BUTLER_API_KEY : ${{ secrets.BUTLER_API_KEY }}
212213 run : butler push dist/${{ env.archive-name }} hexdecimal/${{ env.project-name }}:emscripten-latest
You can’t perform that action at this time.
0 commit comments