Skip to content

Commit

Permalink
Improve step names and only have src and test in build artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonGraal committed Feb 7, 2025
1 parent 1d36b4c commit 606ed94
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup dotnet
uses: actions/setup-dotnet@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
9.0.x
8.0.x
- name: Install tools
run: |
dotnet tool restore --tool-manifest .config/dotnet-tools-ci.json
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build
- name: Artifacts
uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v4
with:
name: build
path: .
path: |
src
test
retention-days: 1

tests:
runs-on: ubuntu-latest
Expand All @@ -44,13 +42,11 @@ jobs:
- 8.0
- 9.0
steps:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
${{ matrix.version }}.x
- name: Download a single artifact
uses: actions/download-artifact@v4
dotnet-version: ${{ matrix.version }}.x
- uses: actions/download-artifact@v4
with:
name: build
- name: Install tools
Expand Down

0 comments on commit 606ed94

Please sign in to comment.