From 829b4d390b4fa94d8ac4571c109946aea94d956d Mon Sep 17 00:00:00 2001 From: Leon Wright Date: Fri, 5 Jul 2024 15:05:21 +0800 Subject: [PATCH] chore: Bump cache action version --- .github/workflows/build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 38063104f..69969ecdf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,24 +6,30 @@ on: configuration: type: string default: Debug + outputs: + repack-artifact-id: + description: "Artifact ID of the repack" + value: ${{ jobs.build.outputs.repack-artifact-id }} jobs: build: runs-on: ubuntu-latest + outputs: + repack-artifact-id: ${{ steps.upload-repack-artifact.outputs.artifact-id }} steps: - uses: actions/checkout@v4 - name: Restore cache for _build/tools - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: _build/tools key: build-tools-${{ hashFiles('build', 'build.ps1', 'build.cake') }} - name: Restore cache for _build/cake - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: _build/cake key: build-cake-${{ hashFiles('build.cake') }} - name: Restore cache for _build/lib/nuget - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | _build/lib/nuget