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
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:
@@ -17,17 +17,23 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
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
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Git LFS
|
|
||||||
run: |
|
|
||||||
git lfs install
|
|
||||||
git lfs pull
|
|
||||||
|
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -51,21 +51,27 @@ jobs:
|
|||||||
if: ${{ github.event.inputs.build_android != 'false' }}
|
if: ${{ github.event.inputs.build_android != 'false' }}
|
||||||
|
|
||||||
steps:
|
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
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Git LFS
|
- name: Set up JDK 17
|
||||||
run: |
|
|
||||||
git lfs install
|
|
||||||
git lfs pull
|
|
||||||
|
|
||||||
- name: Set up JDK 11
|
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: ${{ env.ANDROID_JDK_VERSION }}
|
java-version: '17'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user