@@ -78,14 +78,14 @@ jobs:
7878
7979 - name : Pack artifacts
8080 id : pack_artifacts
81- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
81+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
8282 run : |
8383 cp ggml/LICENSE ./build/bin/ggml.txt
8484 cp LICENSE ./build/bin/stable-diffusion.cpp.txt
8585 zip -j sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip ./build/bin/*
8686
8787 - name : Upload artifacts
88- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
88+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
8989 uses : actions/upload-artifact@v4
9090 with :
9191 name : sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip
@@ -131,14 +131,14 @@ jobs:
131131
132132 - name : Pack artifacts
133133 id : pack_artifacts
134- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
134+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
135135 run : |
136136 cp ggml/LICENSE ./build/bin/ggml.txt
137137 cp LICENSE ./build/bin/stable-diffusion.cpp.txt
138138 zip -j sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip ./build/bin/*
139139
140140 - name : Upload artifacts
141- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
141+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
142142 uses : actions/upload-artifact@v4
143143 with :
144144 name : sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-${{ steps.system-info.outputs.OS_TYPE }}-${{ steps.system-info.outputs.OS_NAME }}-${{ steps.system-info.outputs.OS_VERSION }}-${{ steps.system-info.outputs.CPU_ARCH }}.zip
@@ -229,12 +229,12 @@ jobs:
229229
230230 - name : Get commit hash
231231 id : commit
232- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
232+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
233233 uses : pr-mpt/actions-commit-hash@v2
234234
235235 - name : Pack artifacts
236236 id : pack_artifacts
237- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
237+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
238238 run : |
239239 $filePath = ".\build\bin\Release\*"
240240 if (Test-Path $filePath) {
@@ -254,31 +254,31 @@ jobs:
254254
255255 - name : Copy and pack Cuda runtime
256256 id : pack_cuda_runtime
257- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' && matrix.build == 'cuda12' ) || github.event.inputs.create_release == 'true' }}
257+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' && matrix.build == 'cuda12' ) || github.event.inputs.create_release == 'true' }}
258258 run : |
259259 echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}"
260260 $dst='.\build\bin\cudart\'
261261 robocopy "${{steps.cuda-toolkit.outputs.CUDA_PATH}}\bin" $dst cudart64_*.dll cublas64_*.dll cublasLt64_*.dll
262262 7z a cudart-sd-bin-win-cu12-x64.zip $dst\*
263263
264264 - name : Upload Cuda runtime
265- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' && matrix.build == 'cuda12' ) || github.event.inputs.create_release == 'true' }}
265+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' && matrix.build == 'cuda12' ) || github.event.inputs.create_release == 'true' }}
266266 uses : actions/upload-artifact@v4
267267 with :
268268 name : sd-cudart-sd-bin-win-cu12-x64.zip
269269 path : |
270270 cudart-sd-bin-win-cu12-x64.zip
271271
272272 - name : Upload artifacts
273- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
273+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
274274 uses : actions/upload-artifact@v4
275275 with :
276276 name : sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-${{ matrix.build }}-x64.zip
277277 path : |
278278 sd-${{ env.BRANCH_NAME }}-${{ steps.commit.outputs.short }}-bin-win-${{ matrix.build }}-x64.zip
279279
280280 release :
281- if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master ' ) || github.event.inputs.create_release == 'true' }}
281+ if : ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/bleedingedge ' ) || github.event.inputs.create_release == 'true' }}
282282
283283 runs-on : ubuntu-latest
284284
0 commit comments