From 149b79057f06cd2ba541fa055f3f86c7ebcca613 Mon Sep 17 00:00:00 2001 From: Mark Suckerberg Date: Thu, 22 Aug 2024 18:37:05 -0500 Subject: [PATCH] Yet another workflow update --- .github/workflows/build.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7fb2ec8..cab1f09 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,9 +34,15 @@ jobs: dotnet-version: | ${{ matrix.dotnet }} 3.1.x + cache: true + cache-dependency-path: Blocktest/packages.lock.json + + - name: Describe Version + id: desc + uses: proudust/gh-describe@v2 - name: Build - run: dotnet publish ${{ matrix.projectPath }} --configuration Release --runtime ${{ matrix.targetPlatform }} -p:PublishReadyToRun=false -p:TieredCompilation=false -p:PublishSingleFile=true -p:Version=$(git describe --tags) --self-contained false --output ./Build/${{ matrix.targetPlatform }} + run: dotnet publish ${{ matrix.projectPath }} --configuration Release --runtime ${{ matrix.targetPlatform }} -p:PublishReadyToRun=false -p:TieredCompilation=false -p:PublishSingleFile=true -p:Version=${{ desc.outputs.describe }} --self-contained false --output ./Build/${{ matrix.targetPlatform }} - name: Zip build run: |