add git safe

This commit is contained in:
Lion Kortlepel
2023-12-05 13:45:13 +01:00
parent b0e011cabf
commit 96ce0e05a1
3 changed files with 14 additions and 12 deletions

View File

@@ -10,8 +10,8 @@ jobs:
steps:
- name: Install git
run: |
apt update -y
apt install -y git
apt-get update -y
apt-get install -y git
- uses: actions/checkout@v2
with:
@@ -19,17 +19,14 @@ jobs:
- name: Git config safe directory
shell: bash
run: |
git config --global --add safe.directory $(pwd)
git config --global --add safe.directory $(pwd)/vcpkg
git config --global --add safe.directory $(pwd)/deps/commandline
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
run: bash ./scripts/debian/1.5-git-safe.sh
- name: Install Dependencies
run: bash ./scripts/debian/1-install-deps.sh
- name: Setup vcpkg
uses: lukka/run-vcpkg@v11
- name: Create Build Environment
run: bash ./scripts/debian/2-configure.sh

View File

@@ -4,6 +4,4 @@ set -ex
apt-get update -y
apt-get install -y liblua5.3-0 liblua5.3-dev
apt-get install -y curl zip unzip tar
apt-get install -y cmake make git g++
apt-get install -y liblua5.3-0 liblua5.3-dev curl zip unzip tar cmake make git g++

View File

@@ -0,0 +1,7 @@
#!/bin/bash
set -ex
git config --global --add safe.directory $(pwd)
git config --global --add safe.directory $(pwd)/vcpkg
git config --global --add safe.directory $(pwd)/deps/commandline