From b63e0ef109a2951e048430790271b68031449750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jerna=C5=9B?= Date: Tue, 23 Jan 2024 15:21:48 +0100 Subject: [PATCH] MTS-268 | Use v4 cache action --- README.md | 4 ++-- node/action.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6c47dfd..b891fda 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ When you're combining your sourcecode with runtime binaries to be later executed ```yaml steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: download node to "runtime" directory uses: allegro-actions/add-runtime/node@v1 @@ -62,4 +62,4 @@ steps: version: 2.0.0 ``` -Then the application can be run started using your own runtime: `./runtime/node index.js` \ No newline at end of file +Then the application can be run started using your own runtime: `./runtime/node index.js` diff --git a/node/action.yaml b/node/action.yaml index d91c404..9c63ac2 100644 --- a/node/action.yaml +++ b/node/action.yaml @@ -18,11 +18,11 @@ runs: using: composite steps: - id: cache-node - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node.tar.xz key: node-${{ inputs.os }}-${{ inputs.version }} - + - name: download node ${{ inputs.os }} if: ${{ steps.cache-node.outputs.cache-hit != 'true' }} shell: bash @@ -31,7 +31,7 @@ runs: env: VERSION: ${{ inputs.version }} OS: ${{ inputs.os }} - + - name: unzip shell: bash run: |