Skip to content

Commit

Permalink
Update action versions (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
kadirtaskiran authored Sep 4, 2024
1 parent b5fbb05 commit d7a53a6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/craftgate-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest

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

- name: Use Node.js version 12.x
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: "12.x"

Expand All @@ -29,14 +29,14 @@ jobs:
.github/scripts/pack-artifacts.sh
- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: packed-library
path: ${{ env.ARTIFACT_FILENAME }}
if-no-files-found: error

- name: Upload Runtime Check Script
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: runtime-check-script
path: .github/scripts/check-runtime.js
Expand All @@ -52,7 +52,7 @@ jobs:

steps:
- name: Use Node.js version ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -64,13 +64,13 @@ jobs:
npm init -y
- name: Download Packed Library
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: packed-library
path: /home/runner/work/craftgate-node-client/check-runtime/

- name: Download Runtime Check Script
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: runtime-check-script
path: /home/runner/work/craftgate-node-client/check-runtime/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/craftgate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
Expand Down

0 comments on commit d7a53a6

Please sign in to comment.