Skip to content

Commit

Permalink
fixing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
DanHarltey committed Jan 17, 2024
1 parent 04f076e commit 9a7cc37
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
with:
name: benchmarks-results-${{ matrix.os }}
path: release/BenchmarkDotNet.Artifacts
if-no-files-found: error

- name: Upload test coverage to Coveralls
if: runner.os == 'Linux'
Expand All @@ -47,22 +48,26 @@ jobs:
format: lcov
files: release/coverage.net8.info release/coverage.net48.info

- name: Upload NuGet packages
- name: Upload dotnet info
uses: actions/upload-artifact@v4
if: runner.os == 'Linux'
with:
name: NuGet packages
path: release\Fastenshtein.*.*upkg
name: Built with
path: release/dotnet_info.txt
if-no-files-found: error

- name: Upload test coverage
uses: actions/upload-artifact@v4
if: runner.os == 'Linux'
with:
name: test coverage
path: release/coverage.*.info
if-no-files-found: error

- name: Upload dotnet info
- name: Upload NuGet packages
uses: actions/upload-artifact@v4
if: runner.os == 'Linux'
with:
path: release/dotnet_info.txt
name: NuGet packages
path: release\Fastenshtein.*upkg
if-no-files-found: error
4 changes: 2 additions & 2 deletions scripts/github_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e
gh release create $1 \
"../release/Fastenshtein.nupkg" \
"../release/Fastenshtein.snupkg" \
"../coverage.net48.info#Code coverage report net48" \
"../coverage.net8.info#Code coverage report net8" \
"../release/coverage.net48.info#Code coverage report net48" \
"../release/coverage.net8.info#Code coverage report net8" \
"../release/dotnet_info.txt#Built with" \
--draft \
--generate-notes

0 comments on commit 9a7cc37

Please sign in to comment.