Fix: Install Node.js and Git LFS in CI/CD workflow
Build Debug / Build Android Debug APK (push) Failing after 2s
Build UUVPN / Build Android APK (push) Failing after 1s
Build UUVPN / Cleanup old artifacts (push) Failing after 0s
Build Debug / Build iOS Debug App (push) Has been cancelled
Build UUVPN / Build iOS IPA (push) Has been cancelled
Build UUVPN / Create GitHub Release (push) Has been cancelled
Build UUVPN / Upload to TestFlight (push) Has been cancelled
Build UUVPN / Send Notification (push) Has been cancelled

This commit is contained in:
2026-07-03 18:20:06 +08:00
parent ebf60d4ce6
commit fe12e9ce33
2 changed files with 24 additions and 12 deletions
+11 -5
View File
@@ -17,17 +17,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Node.js (required for actions)
run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
- name: Setup Git LFS
run: |
sudo apt-get install -y git-lfs
git lfs install
git lfs pull
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Git LFS
run: |
git lfs install
git lfs pull
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
+13 -7
View File
@@ -51,21 +51,27 @@ jobs:
if: ${{ github.event.inputs.build_android != 'false' }}
steps:
- name: Setup Node.js (required for actions)
run: |
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
- name: Setup Git LFS
run: |
sudo apt-get install -y git-lfs
git lfs install
git lfs pull
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Git LFS
run: |
git lfs install
git lfs pull
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: ${{ env.ANDROID_JDK_VERSION }}
java-version: '17'
distribution: 'temurin'
cache: 'gradle'