Browse Source

Merge pull request #10 from AsakusaRinne/add_cv_compatibility

ci: update release ci.
pull/1047/head
Rinne GitHub 2 years ago
parent
commit
7a1abe4c3d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      .github/workflows/release.yml

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

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

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

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

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

steps:
- uses: actions/checkout@v3
@@ -31,6 +29,7 @@ jobs:
- name: Build solution
run: dotnet build -c Release --no-restore


# run-semantic-release:
# runs-on: ubuntu-latest
# needs: build


Loading…
Cancel
Save