Skip to content

Commit 563aa79

Browse files
authored
Added CI job to publish GitHub release (#367)
* Added CI job to publish GitHub release * Using softprops/action-gh-release instead of elgohr/Github-Release-Actionr
1 parent 920bddd commit 563aa79

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/release.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,22 @@ jobs:
1212
uses: ./.github/workflows/test.yaml
1313
secrets: inherit
1414

15+
publish-release:
16+
needs: [tests]
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
- name: Create GitHub Release
22+
uses: softprops/action-gh-release@v2
23+
with:
24+
name: "json-schema-validator ${{ github.ref }}"
25+
prerelease: false
26+
draft: false
27+
generate_release_notes: true
28+
1529
build_conan:
30+
needs: [tests]
1631
runs-on: ubuntu-latest
1732
container: ghcr.io/nlohmann/json-ci:v2.4.0
1833
steps:

0 commit comments

Comments
 (0)