Skip to content

Commit

Permalink
Speed up workflows by skipping manual restore command
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Jun 30, 2024
1 parent 26d91ac commit 4e3adfd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore Dependencies
run: dotnet restore TwitchDownloaderWPF
- name: Build Windows GUI
run: dotnet publish TwitchDownloaderWPF -p:PublishProfile=Windows -p:DebugType=Portable

Expand Down Expand Up @@ -58,8 +56,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore Dependencies
run: dotnet restore TwitchDownloaderCLI
- name: Build Windows CLI
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=Windows -p:DebugType=Portable
- name: Build Linux CLI
Expand Down Expand Up @@ -140,8 +136,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore Dependencies
run: dotnet restore TwitchDownloaderCLI
- name: Build MacOS CLI
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=MacOS -p:DebugType=Portable
- name: Build MacOSArm64 CLI
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore Dependencies
run: dotnet restore TwitchDownloaderWPF
- name: Build Windows GUI
run: dotnet publish TwitchDownloaderWPF -p:PublishProfile=Windows -p:DebugType=Embedded

Expand Down Expand Up @@ -99,8 +97,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore Dependencies
run: dotnet restore TwitchDownloaderCLI
- name: Build Windows CLI
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=Windows -p:DebugType=Embedded
- name: Build Linux CLI
Expand Down Expand Up @@ -212,8 +208,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore Dependencies
run: dotnet restore TwitchDownloaderCLI
- name: Build MacOS CLI
run: dotnet publish TwitchDownloaderCLI -p:PublishProfile=MacOS -p:DebugType=Embedded
- name: Build MacOSArm64 CLI
Expand Down

0 comments on commit 4e3adfd

Please sign in to comment.