From b24b035d89561a1d82d534c2e25af82a49f006a6 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Tue, 26 Mar 2024 15:28:34 -0500 Subject: [PATCH] revise cache --- .github/workflows/dotnet.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index a1dc21769..9dac81555 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -27,22 +27,15 @@ jobs: - name: Set version in all AssemblyInfo.cs files uses: secondbounce/assemblyinfo-update@v2 with: - version: '1.9.5' - - if: ${{ runner.os == 'Windows' }} - name: Use GNU tar - shell: cmd - run: | - echo "Adding GNU tar to PATH" - echo C:\Program Files\Git\usr\bin>>"%GITHUB_PATH%" + version: '1.17.2' - uses: actions/checkout@v4 - uses: actions/cache@v4 with: path: | ~/.nuget/packages - !~/.nuget/packages/microsoft.netcore.app.* key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} restore-keys: | - ${{ runner.os }}-nuget- + ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }} - name: Setup .NET uses: actions/setup-dotnet@v4 with: @@ -77,7 +70,7 @@ jobs: with: name: Portable Version path: | - Releases\FlowLauncher-Portable.zip + Releases\FlowLauncher-*-Portable.zip compression-level: 0 - name: Upload Full Nupkg uses: actions/upload-artifact@v4 @@ -92,6 +85,6 @@ jobs: with: name: RELEASES path: | - Releases\RELEASES + Releases\RELEASES* compression-level: 0