From 524613a7db8489fc3193e81cb31e44eab97f5210 Mon Sep 17 00:00:00 2001 From: Andrew Simard <41052272+500Foods@users.noreply.github.com> Date: Fri, 17 May 2024 19:22:22 -0700 Subject: [PATCH] Update Build-Linux-x86.yml --- .github/workflows/Build-Linux-x86.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Build-Linux-x86.yml b/.github/workflows/Build-Linux-x86.yml index 44a11be..7e42a08 100644 --- a/.github/workflows/Build-Linux-x86.yml +++ b/.github/workflows/Build-Linux-x86.yml @@ -17,10 +17,13 @@ jobs: apt-get update apt-get install -y git - - uses: actions/checkout@v4 - with: - persist-credentials: false - + - name: Checkout code + run: | + git init + git remote add origin ${{ github.server_url }}/${{ github.repository }}.git + git fetch --depth 1 origin ${{ github.ref }} + git checkout FETCH_HEAD + - name: Install dependencies run: | apt-get install -y build-essential libsqlite3-dev libxxhash-dev libjansson-dev libwebsockets-dev fswatch libcurl4-openssl-dev libssl-dev