10000 Merge pull request #10 from AsakusaRinne/add_cv_compatibility · AsakusaRinne/TensorFlow.NET@7a1abe4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7a1abe4

Browse files
authored
Merge pull request #10 from AsakusaRinne/add_cv_compatibility
ci: update release ci.
2 parents df95754 + a69a629 commit 7a1abe4

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
name: auto-release
22

3-
on:
4-
workflow_run:
5-
workflows: ["build_and_test"]
6-
types:
7-
- completed
3+
on:
4+
pull_request:
5+
types: [ labeled ]
86

97
env:
108
MYGET_API_TOKEN: ${{ SECRETS.RINNE_MYGET_KEY }}
119
GITHUB_TOKEN: ${{ SECRETS.RINNE_GITHUB_TOKEN }}
1210

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

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

32+
3433
# run-semantic-release:
3534
# runs-on: ubuntu-latest
3635
# needs: build

0 commit comments

Comments
 (0)
0