Skip to content

Commit 879a98c

Browse files
committed
(#51) Linux: install Git
1 parent 5054527 commit 879a98c

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/main.yml

+13-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,17 @@ jobs:
1616
runs-on: ubuntu-20.04
1717
container: ubuntu:18.04
1818
steps:
19+
- run: apt-get update
20+
- name: Set up Git
21+
run: apt-get update && sudo apt-get install -y software-properties-common && sudo apt-get update && sudo add-apt-repository -y ppa:git-core/ppa && sudo apt-get update && sudo apt-get install -y git
22+
1923
- name: Checkout
2024
uses: actions/checkout@v2
21-
with:
22-
submodules: true
25+
- run: cd $GITHUB_WORKSPACE
26+
- run: ls
27+
- run: pwd
28+
- name: Initialize repository submodules
29+
run: git submodule init
2330

2431
# Build:
2532
- name: Install
@@ -70,6 +77,10 @@ jobs:
7077
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages
7178
PACKAGE_VERSION_BASE: 1.7.9
7279
steps:
80+
- run: apt-get update
81+
- name: Set up Git
82+
run: apt-get install git
83+
7384
- name: Checkout
7485
uses: actions/checkout@v2
7586
with:

0 commit comments

Comments
 (0)