Skip to content

Commit 7028cc2

Browse files
committed
(#51) Linux: improve tests on CI
1 parent b8eba72 commit 7028cc2

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/main.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ jobs:
2121

2222
- name: Checkout
2323
uses: actions/checkout@v2
24-
- run: cd $GITHUB_WORKSPACE
25-
- run: ls
26-
- run: pwd
27-
- name: Initialize repository submodules
28-
run: git submodule init
24+
with:
25+
submodules: true
2926

3027
# Build:
3128
- name: Install
@@ -76,9 +73,8 @@ jobs:
7673
NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages
7774
PACKAGE_VERSION_BASE: 1.7.9
7875
steps:
79-
- run: apt-get update
8076
- name: Set up Git
81-
run: apt-get install git
77+
run: apt-get update && apt-get install -y software-properties-common && apt-get update && add-apt-repository -y ppa:git-core/ppa && apt-get update && apt-get install -y git
8278

8379
- name: Checkout
8480
uses: actions/checkout@v2

MAINTAINERSHIP.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Publish a New Version
88
2. Update the license, if required.
99
3. Update the copyright year in the `copyright` section of the `tdlib.native.nuspec` file.
1010
4. Update the version in the following places:
11-
- `.github/workflows/main.yml`: `PACKAGE_VERSION_BASE` environment variable
11+
- `.github/workflows/main.yml`: `PACKAGE_VERSION_BASE` environment variable (2 occurrences)
1212
- `common/download-release.ps1`: `$Version` variable default value
1313
- `common/nuget-pack.ps1`: `$Version` variable default value
1414
- `.appveyor.yml`: `test_script` section (2 occurrences)

0 commit comments

Comments
 (0)