1
0
Fork 0
mirror of synced 2026-06-05 19:15:15 +00:00

use env to disable pre/post

This commit is contained in:
MoChilia 2024-07-22 11:53:58 +08:00
commit f6557e8b4e

View file

@ -40,7 +40,7 @@ branding:
runs:
using: 'node20'
pre: 'lib/cleanup/index.js'
pre-if: (! startsWith(runner.name, 'GitHub Actions'))
pre-if: (! env.AZURE_LOGIN_PRE_CLEANUP_OFF)
main: 'lib/main/index.js'
post: 'lib/cleanup/index.js'
post-if: (! startsWith(runner.name, 'GitHub Actions'))
post-if: (! env.AZURE_LOGIN_POST_CLEANUP_OFF)