10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df95754 + a69a629 commit 7a1abe4Copy full SHA for 7a1abe4
.github/workflows/release.yml
@@ -1,19 +1,17 @@
1
name: auto-release
2
3
-on:
4
- workflow_run:
5
- workflows: ["build_and_test"]
6
- types:
7
- - completed
+on:
+ pull_request:
+ types: [ labeled ]
8
9
env:
10
MYGET_API_TOKEN: ${{ SECRETS.RINNE_MYGET_KEY }}
11
GITHUB_TOKEN: ${{ SECRETS.RINNE_GITHUB_TOKEN }}
12
13
jobs:
14
build:
+ if: ${{ github.event.label.name == 'auto-release'}}
15
runs-on: windows-latest
16
- if: contains(github.event.issue.labels.*.name, 'auto-release')
17
18
steps:
19
- uses: actions/checkout@v3
@@ -31,6 +29,7 @@ jobs:
31
29
- name: Build solution
32
30
run: dotnet build -c Release --no-restore
33
+
34
# run-semantic-release:
35
# runs-on: ubuntu-latest
36
# needs: build
0 commit comments