We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 058084c commit 2129252Copy full SHA for 2129252
.github/workflows/create-release.yml .github/workflows/CI.yml.github/workflows/create-release.yml renamed to .github/workflows/CI.yml
@@ -1,16 +1,27 @@
1
-name: Create GitHub Release
+name: Build & Create GitHub Release
2
on:
3
push:
4
- branches:
5
- - main
+ pull_request:
6
workflow_dispatch:
7
8
permissions:
9
contents: write # Required to create releases
10
11
jobs:
12
- execute-parallel-pipeline:
+ build-check:
13
runs-on: ubuntu-latest
+ steps:
14
+ - uses: actions/checkout@v5
15
+ - uses: actions/setup-dotnet@v5
16
+ - name: Restore dependencies
17
+ run: dotnet restore
18
+ - name: Build
19
+ run: dotnet build --no-restore
20
+
21
+ release:
22
+ runs-on: ubuntu-latest
23
+ if: github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
24
+ needs: [build-check]
25
steps:
26
- uses: actions/checkout@v5
27
- uses: actions/setup-dotnet@v5
0 commit comments