Skip to content

Commit

Permalink
CI: fix build without changing dependency versions
Browse files Browse the repository at this point in the history
this is really ugly but it works...
  • Loading branch information
goeiecool9999 committed May 28, 2024
1 parent 1ee9d5c commit e57ce2a
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ jobs:
run: |
cd dependencies/vcpkg
git fetch --unshallow
git checkout cbf4a664
git fetch origin pull/38979/head
git config --global user.name "GitHub Runner fixup action script"
git config --global user.email "[email protected]"
git cherry-pick -Xtheirs 855a293b 951af818
updated_commit=`git rev-parse HEAD`
cd $GITHUB_WORKSPACE
sed -i "s/cbf4a6641528cee6f172328984576f51698de726/$updated_commit/g" vcpkg.json
- name: Setup release mode parameters (for deploy)
if: ${{ inputs.deploymode == 'release' }}
Expand Down Expand Up @@ -137,7 +145,15 @@ jobs:
run: |
cd dependencies/vcpkg
git fetch --unshallow
git checkout cbf4a664
git fetch origin pull/38979/head
git config --global user.name "GitHub Runner fixup action script"
git config --global user.email "[email protected]"
git cherry-pick -Xtheirs 855a293b 951af818
updated_commit=`git rev-parse HEAD`
cd $GITHUB_WORKSPACE
sed -i "s/cbf4a6641528cee6f172328984576f51698de726/$updated_commit/g" vcpkg.json
- name: Setup release mode parameters (for deploy)
if: ${{ inputs.deploymode == 'release' }}
run: |
Expand Down Expand Up @@ -216,7 +232,15 @@ jobs:
run: |
cd dependencies/vcpkg
git fetch --unshallow
git checkout cbf4a664
git fetch origin pull/38979/head
git config --global user.name "GitHub Runner fixup action script"
git config --global user.email "[email protected]"
git cherry-pick -Xtheirs 855a293b 951af818
updated_commit = git rev-parse HEAD
cd $GITHUB_WORKSPACE
sed -i "s/cbf4a6641528cee6f172328984576f51698de726/$updated_commit/g" vcpkg.json
- name: Setup release mode parameters (for deploy)
if: ${{ inputs.deploymode == 'release' }}
run: |
Expand Down

0 comments on commit e57ce2a

Please sign in to comment.