Skip to content

Commit

Permalink
update CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaclennan committed Apr 18, 2024
1 parent b925974 commit 7e29e8a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
version: ${{ steps.pkg.outputs.prop }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Use Node.js 12
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '12'
- name: Configure git user & email
Expand Down Expand Up @@ -81,9 +81,9 @@ jobs:
artifact: ${{ steps.filename.outputs.filename }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Use Node.js 12
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '12'
- name: Get version
Expand All @@ -98,7 +98,7 @@ jobs:
fi
echo ::set-output name=version::$VERSION
- name: Write version to metadata.json
uses: jossef/action-set-json-field@v1
uses: jossef/action-set-json-field@v2.1
with:
file: metadata.json
field: version
Expand All @@ -112,7 +112,7 @@ jobs:
run: |
mkdir -p build
$(npm bin)/mapeo-settings build -l 'en' -o build/${{ steps.filename.outputs.filename }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: ${{ steps.filename.outputs.filename }}
path: build/${{ steps.filename.outputs.filename }}
Expand All @@ -124,7 +124,7 @@ jobs:
steps:
- name: Download artifact
id: download
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ needs.build.outputs.artifact }}
- name: 'Echo download path'
Expand Down

0 comments on commit 7e29e8a

Please sign in to comment.