mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 12:19:47 +00:00
Removed double caching, improved job naming, & optimized artifact handling
This commit is contained in:
parent
8d79ac7003
commit
9194e91fc5
11
.github/workflows/build-and-release.yml
vendored
11
.github/workflows/build-and-release.yml
vendored
@ -4,6 +4,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-dotnet:
|
||||
name: Build .NET
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@ -17,14 +18,6 @@ jobs:
|
||||
cache: true
|
||||
cache-dependency-path: 'app/MindWork AI Studio/packages.lock.json'
|
||||
|
||||
- name: Cache NuGet packages
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.nuget/packages
|
||||
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-nuget-
|
||||
|
||||
- name: Build .NET project
|
||||
run: |
|
||||
cd "app/MindWork AI Studio"
|
||||
@ -34,6 +27,6 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dotnet
|
||||
path: publish/dotnet
|
||||
path: publish/dotnet/mindworkAIStudio
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
Loading…
Reference in New Issue
Block a user