diff --git a/.github/workflows/develop.yaml b/.github/workflows/develop.yaml index af8f33f..b7f16f4 100644 --- a/.github/workflows/develop.yaml +++ b/.github/workflows/develop.yaml @@ -26,7 +26,7 @@ jobs: submodules: true - name: Install apt dependecies run: | - sudo apt-get install libgit2-dev libssh2-1-dev libssl-dev cmake + sudo apt-get update && sudo apt-get install libgit2-dev libssh2-1-dev libssl-dev cmake - name: Install go dependencies run: | go get -d github.com/Masterminds/sprig @@ -64,7 +64,7 @@ jobs: - uses: crazy-max/ghaction-chocolatey@v1 with: args: -h - - name: Install pkg config + - name: Install dependecies run: | choco install pkgconfiglite - name: Install Go @@ -87,7 +87,7 @@ jobs: cd vendor/libgit2 new-item -Name "build" -ItemType directory cd build - cmake -DCMAKE_INSTALL_PREFIX=D:\a\gtm-enhanced\gtm-enhanced\src\github.com\libgit2\git2go\vendor\libgit2\install .. + cmake -DUSE_SSH=OFF -DCMAKE_INSTALL_PREFIX=D:\a\gtm-enhanced\gtm-enhanced\src\github.com\libgit2\git2go\vendor\libgit2\install .. cmake --build . --target install - name: Build run: | diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 50770cd..919c1f7 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -22,7 +22,7 @@ jobs: submodules: true - name: Install apt dependecies run: | - sudo apt-get install libgit2-dev libssh2-1-dev libssl-dev cmake + sudo apt-get update && sudo apt-get install libgit2-dev libssh2-1-dev libssl-dev cmake - name: Install go dependencies run: | go get -d github.com/Masterminds/sprig diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ecb7854..5f17eac 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,7 +28,7 @@ jobs: submodules: true - name: Install apt dependecies run: | - sudo apt-get install libgit2-dev libssh2-1-dev libssl-dev cmake + sudo apt-get update && sudo apt-get install libgit2-dev libssh2-1-dev libssl-dev cmake - name: Install go dependencies run: | go get -d github.com/Masterminds/sprig @@ -115,7 +115,7 @@ jobs: cd vendor/libgit2 new-item -Name "build" -ItemType directory cd build - cmake -DCMAKE_INSTALL_PREFIX=D:\a\gtm-enhanced\gtm-enhanced\src\github.com\libgit2\git2go\vendor\libgit2\install .. + cmake -DUSE_SSH=OFF -DCMAKE_INSTALL_PREFIX=D:\a\gtm-enhanced\gtm-enhanced\src\github.com\libgit2\git2go\vendor\libgit2\install .. cmake --build . --target install - name: Build run: |