mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-25 02:42:28 +02:00
Обновление yml файла - cli_test.yml (workflow)
This commit is contained in:
parent
f9c519f3de
commit
78efe45ce5
10
.github/workflows/cli_draft.yml
vendored
10
.github/workflows/cli_draft.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: otymko/setup-onescript@v1.4
|
||||
with:
|
||||
version: 1.9.0
|
||||
version: 1.10.0
|
||||
|
||||
- name: Установить cmdline, asserts и osparser
|
||||
run: |
|
||||
@ -66,10 +66,12 @@ jobs:
|
||||
package: oint
|
||||
package_root: .debpkg
|
||||
maintainer: Anton Titovets <bayselonarrend@gmail.com>
|
||||
version: '1.9.0' # refs/tags/v*.*.*
|
||||
version: '1.10.0' # refs/tags/v*.*.*
|
||||
arch: 'all'
|
||||
depends: 'mono-runtime, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all'
|
||||
desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки'
|
||||
outputs:
|
||||
file_name: oint_1.10.0_all_ru.deb
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@ -92,12 +94,14 @@ jobs:
|
||||
package: oint
|
||||
package_root: .rpmpkg
|
||||
maintainer: Anton Titovets <bayselonarrend@gmail.com>
|
||||
version: '1.9.0'
|
||||
version: '1.10.0'
|
||||
arch: 'x86_64'
|
||||
desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки'
|
||||
requires: |
|
||||
mono-core
|
||||
Requires: mono-locale-extras
|
||||
outputs:
|
||||
file_name: oint-1.10.0.el7.x86_64_ru.rpm
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
242
.github/workflows/cli_draft_en.yml
vendored
242
.github/workflows/cli_draft_en.yml
vendored
@ -1,121 +1,121 @@
|
||||
name: CLI | Добавить пакеты в Draft (EN)
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: otymko/setup-onescript@v1.4
|
||||
with:
|
||||
version: 1.10.0
|
||||
|
||||
- name: Установить cmdline, asserts и osparser
|
||||
run: |
|
||||
opm install cmdline
|
||||
opm install asserts
|
||||
opm install osparser
|
||||
opm install coloratos
|
||||
- name: Сформировать список методов ОПИ -> CLI
|
||||
run: oscript ./.github/workflows/os/cli_parse.os
|
||||
|
||||
- name: Записать измененный список методов CLI
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_user_name: Vitaly the Alpaca (bot)
|
||||
commit_user_email: vitaly.the.alpaca@gmail.com
|
||||
commit_author: Vitaly the Alpaca <vitaly.the.alpaca@gmail.com>
|
||||
commit_message: Обновление зашифрованных данных по результатам тестов (workflow)
|
||||
|
||||
- name: Собрать и установить OInt
|
||||
run: |
|
||||
cd ./src/en/OInt
|
||||
opm build
|
||||
opm install *.ospx
|
||||
|
||||
- name: Собрать бинарник
|
||||
run: |
|
||||
cd ./src/en/cli
|
||||
oscript -make core/Classes/Приложение.os oint
|
||||
|
||||
- name: Собрать exe
|
||||
run: |
|
||||
cd ./src/en/cli
|
||||
oscript -make core/Classes/Приложение.os oint.exe
|
||||
|
||||
- name: Записать артефакт
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: oint
|
||||
path: ./src/en/cli/oint
|
||||
|
||||
- name: Создать каталог deb-пакета
|
||||
run: |
|
||||
mkdir -p .debpkg/usr/bin
|
||||
cp ./src/en/cli/oint .debpkg/usr/bin/oint
|
||||
chmod +x .debpkg/usr/bin/oint
|
||||
|
||||
- name: Собрать deb-пакет
|
||||
uses: jiro4989/build-deb-action@v3
|
||||
with:
|
||||
package: oint
|
||||
package_root: .debpkg
|
||||
maintainer: Anton Titovets <bayselonarrend@gmail.com>
|
||||
version: '1.10.0' # refs/tags/v*.*.*
|
||||
arch: 'all'
|
||||
depends: 'mono-runtime, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all'
|
||||
desc: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services'
|
||||
outputs:
|
||||
file_name: oint_1.10.0_all_en.deb
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: oint-deb
|
||||
path: |
|
||||
./*.deb
|
||||
|
||||
- name: Создать каталог rpm-пакета
|
||||
run: |
|
||||
mkdir -p .rpmpkg/usr/bin
|
||||
mkdir -p .rpmpkg/usr/share/oint/bin
|
||||
cp ./src/en/cli/oint .rpmpkg/usr/share/oint/bin/oint
|
||||
echo 'mono /usr/share/oint/bin/oint "$@"' > .rpmpkg/usr/bin/oint
|
||||
chmod +x .rpmpkg/usr/bin/oint
|
||||
|
||||
- name: Собрать rpm-пакет
|
||||
uses: jiro4989/build-rpm-action@v2
|
||||
with:
|
||||
summary: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services. Mono-runtime with .NET Framework 4.8 support required'
|
||||
package: oint
|
||||
package_root: .rpmpkg
|
||||
maintainer: Anton Titovets <bayselonarrend@gmail.com>
|
||||
version: '1.10.0'
|
||||
arch: 'x86_64'
|
||||
desc: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services'
|
||||
requires: |
|
||||
mono-core
|
||||
Requires: mono-locale-extras
|
||||
outputs:
|
||||
file_name: oint-1.10.0.el7.x86_64_en.rpm
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: oint-rpm
|
||||
path: |
|
||||
./*.rpm
|
||||
!./*-debuginfo-*.rpm
|
||||
|
||||
- name: Добавить DEB
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release upload draft ./*.deb
|
||||
|
||||
- name: Добавить RPM
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release upload draft ./*.rpm
|
||||
name: CLI | Добавить пакеты в Draft (EN)
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: otymko/setup-onescript@v1.4
|
||||
with:
|
||||
version: 1.10.0
|
||||
|
||||
- name: Установить cmdline, asserts и osparser
|
||||
run: |
|
||||
opm install cmdline
|
||||
opm install asserts
|
||||
opm install osparser
|
||||
opm install coloratos
|
||||
- name: Сформировать список методов ОПИ -> CLI
|
||||
run: oscript ./.github/workflows/os/cli_parse.os
|
||||
|
||||
- name: Записать измененный список методов CLI
|
||||
uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_user_name: Vitaly the Alpaca (bot)
|
||||
commit_user_email: vitaly.the.alpaca@gmail.com
|
||||
commit_author: Vitaly the Alpaca <vitaly.the.alpaca@gmail.com>
|
||||
commit_message: Обновление зашифрованных данных по результатам тестов (workflow)
|
||||
|
||||
- name: Собрать и установить OInt
|
||||
run: |
|
||||
cd ./src/en/OInt
|
||||
opm build
|
||||
opm install *.ospx
|
||||
|
||||
- name: Собрать бинарник
|
||||
run: |
|
||||
cd ./src/en/cli
|
||||
oscript -make core/Classes/Приложение.os oint
|
||||
|
||||
- name: Собрать exe
|
||||
run: |
|
||||
cd ./src/en/cli
|
||||
oscript -make core/Classes/Приложение.os oint.exe
|
||||
|
||||
- name: Записать артефакт
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: oint
|
||||
path: ./src/en/cli/oint
|
||||
|
||||
- name: Создать каталог deb-пакета
|
||||
run: |
|
||||
mkdir -p .debpkg/usr/bin
|
||||
cp ./src/en/cli/oint .debpkg/usr/bin/oint
|
||||
chmod +x .debpkg/usr/bin/oint
|
||||
|
||||
- name: Собрать deb-пакет
|
||||
uses: jiro4989/build-deb-action@v3
|
||||
with:
|
||||
package: oint
|
||||
package_root: .debpkg
|
||||
maintainer: Anton Titovets <bayselonarrend@gmail.com>
|
||||
version: '1.10.0' # refs/tags/v*.*.*
|
||||
arch: 'all'
|
||||
depends: 'mono-runtime, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all'
|
||||
desc: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services'
|
||||
outputs:
|
||||
file_name: oint_1.10.0_all_en.deb
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: oint-deb
|
||||
path: |
|
||||
./*.deb
|
||||
|
||||
- name: Создать каталог rpm-пакета
|
||||
run: |
|
||||
mkdir -p .rpmpkg/usr/bin
|
||||
mkdir -p .rpmpkg/usr/share/oint/bin
|
||||
cp ./src/en/cli/oint .rpmpkg/usr/share/oint/bin/oint
|
||||
echo 'mono /usr/share/oint/bin/oint "$@"' > .rpmpkg/usr/bin/oint
|
||||
chmod +x .rpmpkg/usr/bin/oint
|
||||
|
||||
- name: Собрать rpm-пакет
|
||||
uses: jiro4989/build-rpm-action@v2
|
||||
with:
|
||||
summary: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services. Mono-runtime with .NET Framework 4.8 support required'
|
||||
package: oint
|
||||
package_root: .rpmpkg
|
||||
maintainer: Anton Titovets <bayselonarrend@gmail.com>
|
||||
version: '1.10.0'
|
||||
arch: 'x86_64'
|
||||
desc: 'OInt CLI - CLI toolkit for integrating with APIs of popular online services'
|
||||
requires: |
|
||||
mono-core
|
||||
Requires: mono-locale-extras
|
||||
outputs:
|
||||
file_name: oint-1.10.0.el7.x86_64_en.rpm
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: oint-rpm
|
||||
path: |
|
||||
./*.rpm
|
||||
!./*-debuginfo-*.rpm
|
||||
|
||||
- name: Добавить DEB
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release upload draft ./*.deb
|
||||
|
||||
- name: Добавить RPM
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release upload draft ./*.rpm
|
||||
|
10
.github/workflows/cli_test.yml
vendored
10
.github/workflows/cli_test.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: otymko/setup-onescript@v1.4
|
||||
with:
|
||||
version: 1.9.0
|
||||
version: 1.10.0
|
||||
|
||||
- name: Установить cmdline, asserts и osparser
|
||||
run: |
|
||||
@ -82,10 +82,12 @@ jobs:
|
||||
package: oint
|
||||
package_root: .debpkg
|
||||
maintainer: Anton Titovets <bayselonarrend@gmail.com>
|
||||
version: '1.9.0' # refs/tags/v*.*.*
|
||||
version: '1.10.0' # refs/tags/v*.*.*
|
||||
arch: 'all'
|
||||
depends: 'mono-runtime, libmono-system-core4.0-cil | libmono-system-core4.5-cil, libmono-system4.0-cil | libmono-system4.5-cil, libmono-corlib4.0-cil | libmono-corlib4.5-cil, libmono-i18n4.0-all | libmono-i18n4.5-all'
|
||||
desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки'
|
||||
outputs:
|
||||
file_name: oint_1.10.0_all_ru.deb
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@ -108,12 +110,14 @@ jobs:
|
||||
package: oint
|
||||
package_root: .rpmpkg
|
||||
maintainer: Anton Titovets <bayselonarrend@gmail.com>
|
||||
version: '1.9.0'
|
||||
version: '1.10.0'
|
||||
arch: 'x86_64'
|
||||
desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки'
|
||||
requires: |
|
||||
mono-core
|
||||
Requires: mono-locale-extras
|
||||
outputs:
|
||||
file_name: oint-1.10.0.el7.x86_64_ru.rpm
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
6444
.github/workflows/cli_test_en.yml
vendored
6444
.github/workflows/cli_test_en.yml
vendored
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user