From 99cae57714a8fec4fffc8c3ffe8276388bd80277 Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Mon, 27 Oct 2025 22:22:22 +0530 Subject: [PATCH] ci: switched to manual lfs fetching --- .github/workflows/release.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fb7e47..0f93f1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,16 +24,20 @@ jobs: args: '' runs-on: ${{ matrix.platform }} steps: + - name: 🚚 Checkout repository + uses: actions/checkout@v5 + - name: 🔐 Configure Git LFS shell: bash run: | - echo "machine lfs.neosubhamoy.com login ${{ secrets.LFS_USERNAME }} password ${{ secrets.LFS_PASSWORD }}" > ~/.netrc - chmod 600 ~/.netrc || true + git config --global credential.helper store + echo "https://${{ secrets.LFS_USERNAME }}:${{ secrets.LFS_PASSWORD }}@lfs.neosubhamoy.com" > ~/.git-credentials - - name: 🚚 Checkout repository - uses: actions/checkout@v4 - with: - lfs: true + - name: 📥 Pull LFS objects + shell: bash + run: | + git lfs install + git lfs pull - name: 🛠️ Install dependencies if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm' @@ -42,7 +46,7 @@ jobs: sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - name: 📦 Setup node - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: 'lts/*' cache: 'npm'