From 48e778cd8ad3ef91aad57e25c4c9547e8aff94b8 Mon Sep 17 00:00:00 2001 From: Chris Midgley Date: Thu, 9 Jan 2025 17:37:54 +0000 Subject: [PATCH] feat: use new cache, use new output format (#1537) --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1ee17a28..382f7e03e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Java 21 uses: actions/setup-java@v4.6.0 @@ -31,13 +31,13 @@ jobs: fi export GITHUB_BUILD=$(echo $GITHUB_RELEASE | jq --raw-output '.name') export GITHUB_URL=$(echo $GITHUB_RELEASE | jq --raw-output '.assets[] | select(.browser_download_url | contains(".jar")).browser_download_url') - echo "::set-output name=github::$GITHUB_URL" + echo "github=$GITHUB_URL" >> $GITHUB_OUTPUT echo "GitHub URL = ${GITHUB_URL}" - echo "::set-output name=build::$GITHUB_BUILD" + echo "build=$GITHUB_BUILD" >> $GITHUB_OUTPUT echo "GitHub Mafia Build = ${GITHUB_BUILD}" - name: Cache KoLmafia id: cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: .github/kolmafia.jar key: kolmafia-${{steps.mafia.outputs.build}}