SHA256
Update deploy.yml
This commit is contained in:
1 parent
b1302b1e39
commit
9bd22e3c9b
1 file changed
+11
-3
@@ -16,9 +16,17 @@ jobs:
|
|||||||
runs-on: ${{ matrix.runner }}
|
runs-on: ${{ matrix.runner }}
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v4
|
run: |
|
||||||
with:
|
if command -v apt-get &> /dev/null; then
|
||||||
node-version: 20
|
sudo apt-get update && sudo apt-get install -y nodejs
|
||||||
|
elif command -v yum &> /dev/null; then
|
||||||
|
sudo yum install -y nodejs
|
||||||
|
elif command -v apk &> /dev/null; then
|
||||||
|
apk add nodejs
|
||||||
|
else
|
||||||
|
echo "Package manager not found. Please pre-install Node.js on the runner host."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Prepare Git for SHA256 Repo
|
- name: Prepare Git for SHA256 Repo
|
||||||
run: git config --global init.defaultObjectFormat sha256
|
run: git config --global init.defaultObjectFormat sha256
|
||||||
|
|||||||
Reference in new issue
Block a user