Skip to content

Commit 97f4a52

Browse files
committed
fixed release build workflow
1 parent 95ea154 commit 97f4a52

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

.github/workflows/release-build.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,7 @@ jobs:
3030
run: dotnet build src/CodeCoverageSummary.sln --configuration Release --no-restore
3131

3232
- name: Test with sample file
33-
run: dotnet src/CodeCoverageSummary/bin/Release/net6.0/CodeCoverageSummary.dll src/coverage.cobertura.xml --badge true
34-
35-
- name: Get Previous Tag
36-
id: get_previous_tag
37-
run: |
38-
PREV_TAG=$(git describe --abbrev=0 --tags "${{ github.ref }}^")
39-
echo "::set-output name=baseRef::${PREV_TAG}"
40-
41-
- name: Generate Changelog
42-
id: generate_changelog
43-
uses: nblagoev/pull-release-notes-action@v1.0.2
44-
env:
45-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-
with:
47-
base-ref: ${{ steps.get_previous_tag.outputs.baseRef }}
48-
head-ref: ${{ github.ref }}
49-
50-
- name: Add Changelog to Release
51-
uses: irongut/EditRelease@v1.0.0
52-
with:
53-
token: ${{ secrets.GITHUB_TOKEN }}
54-
id: ${{ github.event.release.id }}
55-
body: ${{ steps.generate_changelog.outputs.result }}
33+
run: dotnet src/CodeCoverageSummary/bin/Release/net6.0/CodeCoverageSummary.dll --files src/coverage.cobertura.xml --badge true
5634

5735
deploy:
5836
name: Deploy to GHCR

0 commit comments

Comments
 (0)