fix: Fixes relesae flows (#1799)
This commit is contained in:
parent
5843ec0784
commit
b3a817ee2d
3 changed files with 13 additions and 8 deletions
4
.github/workflows/build-test.yml
vendored
4
.github/workflows/build-test.yml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
|
||||
- name: Setup .NET 8
|
||||
uses: actions/setup-dotnet@v3
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
- name: Install Prerequisites
|
||||
|
|
@ -90,7 +90,7 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
|
||||
- name: Setup .NET 8
|
||||
uses: actions/setup-dotnet@v3
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
- name: Build
|
||||
|
|
|
|||
11
.github/workflows/create-release.yml
vendored
11
.github/workflows/create-release.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
|
||||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
- name: Setup .NET 8
|
||||
uses: actions/setup-dotnet@v3
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
- name: Install NGBV
|
||||
|
|
@ -41,6 +41,9 @@ jobs:
|
|||
with:
|
||||
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
tags: true
|
||||
- name: Pin Conventional Changelog Commits Dependency
|
||||
run: |
|
||||
npm i conventional-changelog-conventionalcommits@v7.0.2
|
||||
- name: Conventional Changelog
|
||||
id: changelog
|
||||
uses: TriPSs/conventional-changelog-action@v5.3.0
|
||||
|
|
@ -51,20 +54,20 @@ jobs:
|
|||
skip-commit: true
|
||||
release-count: 1
|
||||
- name: Delete v${{ steps.changelog.outputs.version }} Tag
|
||||
uses: dev-drprasad/delete-tag-and-release@v1.1
|
||||
uses: dev-drprasad/delete-tag-and-release@v1
|
||||
with:
|
||||
delete_release: true
|
||||
tag_name: v${{ steps.changelog.outputs.version }}
|
||||
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
- name: Delete v0.1.0 Tag
|
||||
uses: dev-drprasad/delete-tag-and-release@v1.1
|
||||
uses: dev-drprasad/delete-tag-and-release@v1
|
||||
with:
|
||||
delete_release: true
|
||||
tag_name: v0.1.0
|
||||
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: softprops/action-gh-release@v2.0.5
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
body: ${{ steps.changelog.outputs.clean_changelog }}
|
||||
tag_name: ${{ steps.nbgv.outputs.Version }}
|
||||
|
|
|
|||
6
.github/workflows/post-release-discord.yml
vendored
6
.github/workflows/post-release-discord.yml
vendored
|
|
@ -1,3 +1,5 @@
|
|||
name: Post Release to Discord
|
||||
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
|
|
@ -7,12 +9,12 @@ jobs:
|
|||
post-release-discord:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4.1.6
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
|
||||
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
|
||||
- name: Post Release on Discord
|
||||
uses: SethCohen/github-releases-to-discord@v1.13.1
|
||||
uses: SethCohen/github-releases-to-discord@v1
|
||||
with:
|
||||
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
||||
username: "Release Changelog"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue