mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fixed warnings from Github CI.
This commit is contained in:
parent
c06f0b3ea1
commit
9601207b2c
6 changed files with 14 additions and 12 deletions
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone.
|
- name: Clone.
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
|
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
|
@ -69,7 +69,7 @@ jobs:
|
||||||
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Clone.
|
- name: Clone.
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
path: ${{ env.REPO_NAME }}
|
path: ${{ env.REPO_NAME }}
|
||||||
|
|
6
.github/workflows/mac.yml
vendored
6
.github/workflows/mac.yml
vendored
|
@ -56,7 +56,7 @@ jobs:
|
||||||
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Clone.
|
- name: Clone.
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
path: ${{ env.REPO_NAME }}
|
path: ${{ env.REPO_NAME }}
|
||||||
|
@ -73,7 +73,7 @@ jobs:
|
||||||
|
|
||||||
- name: ThirdParty cache.
|
- name: ThirdParty cache.
|
||||||
id: cache-third-party
|
id: cache-third-party
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3.0.11
|
||||||
with:
|
with:
|
||||||
path: ThirdParty
|
path: ThirdParty
|
||||||
key: ${{ runner.OS }}-third-party-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }}
|
key: ${{ runner.OS }}-third-party-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }}
|
||||||
|
@ -81,7 +81,7 @@ jobs:
|
||||||
|
|
||||||
- name: Libraries cache.
|
- name: Libraries cache.
|
||||||
id: cache-libs
|
id: cache-libs
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3.0.11
|
||||||
with:
|
with:
|
||||||
path: Libraries
|
path: Libraries
|
||||||
key: ${{ runner.OS }}-libs-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }}
|
key: ${{ runner.OS }}-libs-${{ hashFiles(format('{0}/{1}', env.REPO_NAME, env.PREPARE_PATH)) }}
|
||||||
|
|
2
.github/workflows/master_updater.yml
vendored
2
.github/workflows/master_updater.yml
vendored
|
@ -11,7 +11,7 @@ jobs:
|
||||||
SKIP: "0"
|
SKIP: "0"
|
||||||
to_branch: "master"
|
to_branch: "master"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3.1.0
|
||||||
if: env.SKIP == '0'
|
if: env.SKIP == '0'
|
||||||
- name: Push the code to the master branch.
|
- name: Push the code to the master branch.
|
||||||
if: env.SKIP == '0'
|
if: env.SKIP == '0'
|
||||||
|
|
2
.github/workflows/snap.yml
vendored
2
.github/workflows/snap.yml
vendored
|
@ -47,7 +47,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone.
|
- name: Clone.
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
12
.github/workflows/win.yml
vendored
12
.github/workflows/win.yml
vendored
|
@ -60,21 +60,24 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Prepare directories.
|
- name: Prepare directories.
|
||||||
run: |
|
run: |
|
||||||
|
mkdir %userprofile%\TBuild
|
||||||
|
mklink /d %GITHUB_WORKSPACE%\TBuild %userprofile%\TBuild
|
||||||
|
echo TBUILD=%GITHUB_WORKSPACE%\TBuild>>%GITHUB_ENV%
|
||||||
|
|
||||||
mkdir %userprofile%\TBuild Libraries
|
mkdir %userprofile%\TBuild Libraries
|
||||||
mklink /d %userprofile%\TBuild\Libraries %GITHUB_WORKSPACE%\Libraries
|
mklink /d %userprofile%\TBuild\Libraries %GITHUB_WORKSPACE%\Libraries
|
||||||
echo TBUILD=%userprofile%\TBuild>>%GITHUB_ENV%
|
|
||||||
|
|
||||||
- name: Get repository name.
|
- name: Get repository name.
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
run: echo "REPO_NAME=${GITHUB_REPOSITORY##*/}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: ilammy/msvc-dev-cmd@v1.10.0
|
- uses: ilammy/msvc-dev-cmd@v1.12.0
|
||||||
name: Native Tools Command Prompt.
|
name: Native Tools Command Prompt.
|
||||||
with:
|
with:
|
||||||
arch: ${{ matrix.arch }}
|
arch: ${{ matrix.arch }}
|
||||||
|
|
||||||
- name: Clone.
|
- name: Clone.
|
||||||
uses: LebedevRI/checkout@issue197
|
uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
path: ${{ env.TBUILD }}\${{ env.REPO_NAME }}
|
path: ${{ env.TBUILD }}\${{ env.REPO_NAME }}
|
||||||
|
@ -98,7 +101,7 @@ jobs:
|
||||||
|
|
||||||
- name: Libraries cache.
|
- name: Libraries cache.
|
||||||
id: cache-libs
|
id: cache-libs
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3.0.11
|
||||||
with:
|
with:
|
||||||
path: Libraries
|
path: Libraries
|
||||||
key: ${{ runner.OS }}-${{ matrix.arch }}-libs-${{ env.CACHE_KEY }}
|
key: ${{ runner.OS }}-${{ matrix.arch }}-libs-${{ env.CACHE_KEY }}
|
||||||
|
@ -132,7 +135,6 @@ jobs:
|
||||||
- name: Telegram Desktop build.
|
- name: Telegram Desktop build.
|
||||||
if: env.ONLY_CACHE == 'false'
|
if: env.ONLY_CACHE == 'false'
|
||||||
run: |
|
run: |
|
||||||
C:
|
|
||||||
cd %TBUILD%\%REPO_NAME%\Telegram
|
cd %TBUILD%\%REPO_NAME%\Telegram
|
||||||
|
|
||||||
call configure.bat ^
|
call configure.bat ^
|
||||||
|
|
Loading…
Add table
Reference in a new issue