Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor actions #127

Merged
merged 2 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
env:
DOTNET_VERSION: '3.1.x'
CONFIGURATION: 'Release'
jobs:
ci:
name: build&test&coverage(${{matrix.os}})
Expand All @@ -22,14 +23,12 @@ jobs:
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Build
run: dotnet build -c ${{ vars.CONFIGURATION }}
- name: Test
run: dotnet test -c ${{ vars.CONFIGURATION }} --no-build
run: dotnet build -c ${{ env.CONFIGURATION }}
- name: Coveralls
run: |
dotnet minicover instrument
dotnet minicover reset
dotnet test -c ${{ vars.CONFIGURATION }} --no-build
dotnet test -c ${{ env.CONFIGURATION }} --no-build
dotnet minicover uninstrument
dotnet minicover report
dotnet minicover coverallsreport --service-name "github" \
Expand Down Expand Up @@ -64,7 +63,7 @@ jobs:
echo "release_package_version=$PACKAGE_VERSION" >> "$GITHUB_OUTPUT"
echo $PACKAGE_VERSION
- name: Pack
run: dotnet pack -c ${{ vars.CONFIGURATION }} -p:PackageVersion=${{ steps.create_tag.outputs.release_package_version }}
run: dotnet pack -c ${{ env.CONFIGURATION }} -p:PackageVersion=${{ steps.create_tag.outputs.release_package_version }}
- name: Release
env:
GH_TOKEN: ${{ secrets.ACCSESS_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*.userosscache
*.sln.docstates

# User-specific files (MonoDevelop/Xamarin Studio)
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs

# Build results
Expand Down
Loading