From 973e3b9437a4a149884277793b563e281041de60 Mon Sep 17 00:00:00 2001 From: sfaqer Date: Fri, 30 Aug 2024 15:53:37 +1000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=BD=D1=8F=D0=BB=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B2=D0=B8=D1=81=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D1=8C=20?= =?UTF-8?q?=D0=BE=D1=82=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8=20=D1=81?= =?UTF-8?q?=D1=80=D0=B5=D0=B4=D1=8B=20=D0=B8=20=D0=BF=D0=B5=D1=80=D0=B5?= =?UTF-8?q?=D0=B2=D0=B5=D0=BB=20workflow=20=D0=BD=D0=B0=20autumn-library/w?= =?UTF-8?q?orkflows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 15 +++++++++++++ .github/workflows/testing.yml | 41 ++++++----------------------------- packagedef | 2 +- 3 files changed, 23 insertions(+), 35 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..c8913a6 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,15 @@ +name: Публикация релиза + +on: + release: + types: + - published + workflow_dispatch: + +jobs: + release: + uses: autumn-library/workflows/.github/workflows/release.yml + with: + package_mask: "collectionos-*.ospx" + secrets: + PUSH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index a234345..6a9d245 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -1,37 +1,10 @@ -# MIT License -# Copyright (C) 2020 Tymko Oleg and contributors -# All rights reserved. - name: Тестирование -# Любой пуш и pr в проекте -on: [push, pull_request] - -jobs: - build: - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] - oscript_version: ['1.8.3', 'stable', 'dev', 'lts-dev'] - - steps: - # Загрузка проекта - - name: Актуализация - uses: actions/checkout@v2 - # Установка OneScript конкретной версии - - name: Установка OneScript - uses: otymko/setup-onescript@v1.3 - with: - version: ${{ matrix.oscript_version }} +on: + push: + pull_request: + workflow_dispatch: - # Установка зависимостей пакета - - name: Установка зависимостей - run: | - opm install opm - opm install -l --dev - - # Задача тестирования, в результате ожидается успешное выполнение - - name: Тестирование - run: oscript ./tasks/test.os +jobs: + test: + uses: autumn-library/workflows/.github/workflows/test.yml diff --git a/packagedef b/packagedef index ddaec91..722e194 100644 --- a/packagedef +++ b/packagedef @@ -3,7 +3,7 @@ .Автор("Кирилл Черненко") .АдресАвтора("https://github.com/sfaqer") .Описание("Фреймворк коллекций для OneScript") - .ВерсияСреды("1.8.3") + .ВерсияСреды("1.8.4") .ВключитьФайл("src") .ВключитьФайл("README.md")