mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
fix: adjust installation steps for prerequisites based on environment detection
This commit is contained in:
parent
9b5af60a46
commit
9c3c924a29
1 changed files with 9 additions and 3 deletions
8
.github/workflows/essentials-3-dev-build.yml
vendored
8
.github/workflows/essentials-3-dev-build.yml
vendored
|
|
@ -30,11 +30,17 @@ jobs:
|
|||
echo "is_local=false" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
# Install all prerequisites
|
||||
- name: Install prerequisites
|
||||
run: |
|
||||
if [ "${{ steps.detect_env.outputs.is_local }}" == "true" ]; then
|
||||
# For Act - no sudo needed
|
||||
apt-get update
|
||||
apt-get install -y curl wget libicu-dev git unzip
|
||||
else
|
||||
# For GitHub runners - sudo required
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y curl wget libicu-dev git unzip
|
||||
fi
|
||||
|
||||
- name: Set Version Number
|
||||
id: setVersion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue