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 }}
|
||||
steps:
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
run: |
|
||||
if command -v apt-get &> /dev/null; then
|
||||
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
|
||||
run: git config --global init.defaultObjectFormat sha256
|
||||
|
||||
Reference in new issue
Block a user