mirror of
https://github.com/coreybutler/nvm-windows.git
synced 2026-01-14 04:05:36 +08:00
update build process to prevent running release unnecessarily
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -10,6 +10,8 @@ jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: write
|
||||
|
||||
1
.github/workflows/scanner.yml
vendored
1
.github/workflows/scanner.yml
vendored
@@ -9,6 +9,7 @@ on:
|
||||
jobs:
|
||||
scan:
|
||||
if: ${{ github.event.workflow_run.conclusion }} == 'success'
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user