mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-02 03:38:55 +02:00
Merge branch 'main' of https://github.com/Bayselonarrend/OpenIntegrations
This commit is contained in:
commit
eb7e67f713
56
.github/workflows/cli_test.yml
vendored
56
.github/workflows/cli_test.yml
vendored
@ -56,12 +56,64 @@ jobs:
|
||||
- name: Собрать бинарник
|
||||
run: |
|
||||
cd ./cli
|
||||
oscript -make core/Classes/Приложение.os oint_bin
|
||||
oscript -make core/Classes/Приложение.os oint
|
||||
- name: Записать артефакт
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: oint
|
||||
path: ./cli/oint_bin
|
||||
path: ./cli/oint
|
||||
|
||||
- name: Создать каталог deb-пакета
|
||||
run: |
|
||||
mkdir -p .debpkg/usr/bin
|
||||
cp ./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.6.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 различных онлайн-сервисов из командной строки'
|
||||
|
||||
- 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 ./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 - приложение для работы с API различных онлайн-сервисов из командной строки. Требуется mono-runtime с поддержкой .NET Framework 4.8'
|
||||
package: oint
|
||||
package_root: .rpmpkg
|
||||
maintainer: Anton Titovets <bayselonarrend@gmail.com>
|
||||
version: '1.6.0'
|
||||
arch: 'x86_64'
|
||||
desc: 'OInt CLI - приложение для работы с API различных онлайн-сервисов из командной строки'
|
||||
requires: |
|
||||
mono-core
|
||||
Requires: mono-locale-extras
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: oint-rpm
|
||||
path: |
|
||||
./*.rpm
|
||||
!./*-debuginfo-*.rpm
|
||||
|
||||
Testing-telegram:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user