Skip to content

Commit

Permalink
feat(ci): Do restore inline on build
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxuser committed Jul 27, 2024
1 parent 4cff5c0 commit 026b20d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,16 @@ jobs:
with:
dotnet-version: 6.0.x

- name: Restore dependencies
run: dotnet restore

- name: Build just SharpShell
working-directory: ./SharpShell
run: dotnet publish -c Release /p:PublishProfile=DeployPublish --no-restore
run: dotnet publish -c Release /p:PublishProfile=DeployPublish

- name: Generate dependency
run: python generate_embedded.py

- name: Build
working-directory: ./SharpShell.Loader
run: dotnet build -c Debug /p:RunAnalyzers=false --no-restore
run: dotnet build -c Debug /p:RunAnalyzers=false

- name: Package
run: |
Expand Down

0 comments on commit 026b20d

Please sign in to comment.