Browse Source

ci: revise release ci.

tags/v0.100.5
Yaohui Liu 2 years ago
parent
commit
68d8110524
No known key found for this signature in database GPG Key ID: E86D01E1809BD23E
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      .github/workflows/release.yml

+ 2
- 4
.github/workflows/release.yml View File

@@ -1,12 +1,10 @@
name: auto-release

on:
label:
types: [created, edited]
pull_request:
branches:
- master
types: [ labeled, opened, reopened, synchronize ]
types: [ closed ]

env:
MYGET_API_TOKEN: ${{ SECRETS.MYGET_API_KEY }}
@@ -14,7 +12,7 @@ env:

jobs:
build:
if: contains(github.event.pull_request.labels.*.name, 'auto-release')
if: contains(github.event.pull_request.labels.*.name, 'auto-release') && ${{ github.event.pull_request.merged }}
runs-on: windows-latest

steps:


Loading…
Cancel
Save