Browse Source

ci: revise auto-release ci.

pull/1047/head
AsakusaRinne 2 years ago
parent
commit
a69a62930c
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      .github/workflows/release.yml

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

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


on:
workflow_run:
workflows: ["build_and_test"]
types:
- completed
on:
pull_request:
types: [ labeled ]


env: env:
MYGET_API_TOKEN: ${{ SECRETS.RINNE_MYGET_KEY }} MYGET_API_TOKEN: ${{ SECRETS.RINNE_MYGET_KEY }}
@@ -12,8 +10,8 @@ env:


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


steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3


Loading…
Cancel
Save