Skip to content

Commit

Permalink
feat: use new cache, use new output format (#1537)
Browse files Browse the repository at this point in the history
  • Loading branch information
midgleyc authored Jan 9, 2025
1 parent 54510b8 commit 48e778c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Java 21
uses: actions/[email protected]
Expand All @@ -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}}
Expand Down

0 comments on commit 48e778c

Please sign in to comment.