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}}