Skip to content

Commit

Permalink
use env to disable pre/post
Browse files Browse the repository at this point in the history
  • Loading branch information
MoChilia committed Jul 22, 2024
1 parent 2e05c53 commit f6557e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f6557e8

Please sign in to comment.