-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from nixel2007/develop
Sync
- Loading branch information
Showing
9 changed files
with
245 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,10 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macos-latest] | ||
oscript_version: ['1.2.0', 'dev', 'stable'] | ||
oscript_version: ['1.8.3', 'stable'] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Onescript Action | ||
uses: otymko/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,15 +9,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v3 | ||
with: | ||
# Disabling shallow clone is recommended for improving relevancy of reporting | ||
fetch-depth: 0 | ||
|
||
- name: Setup Onescript Action | ||
uses: otymko/[email protected] | ||
with: | ||
version: dev | ||
version: "1.8.3" | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
@@ -48,7 +48,7 @@ jobs: | |
- name: SonarCloud Scan on push | ||
if: github.repository == 'nixel2007/entity' && github.event_name == 'push' | ||
uses: nixel2007/sonarcloud-github-action@v1.4 | ||
uses: nixel2007/sonarcloud-github-action@v1.5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
|
@@ -60,7 +60,7 @@ jobs: | |
- name: SonarCloud Scan on PR | ||
if: github.repository == 'nixel2007/entity' && github.event_name == 'pull_request' | ||
uses: nixel2007/sonarcloud-github-action@v1.4 | ||
uses: nixel2007/sonarcloud-github-action@v1.5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# MIT License | ||
# Copyright (C) 2020 Tymko Oleg <[email protected]> and contributors | ||
# All rights reserved. | ||
|
||
name: Подготовка релиза и публикация в хабе | ||
# Только события создания и изменения релиза | ||
on: | ||
release: | ||
types: [published, edited] | ||
|
||
env: | ||
PACKAGE_MASK: entity-*.ospx | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
oscript_version: ['1.8.3'] | ||
|
||
steps: | ||
# Загрузка проекта | ||
- name: Актуализация | ||
uses: actions/checkout@v2 | ||
|
||
# Установка OneScript конкретной версии | ||
- name: Установка OneScript | ||
uses: otymko/[email protected] | ||
with: | ||
version: ${{ matrix.oscript_version }} | ||
|
||
# Установка зависимостей пакета | ||
- name: Установка зависимостей | ||
run: | | ||
opm install opm | ||
opm install | ||
- name: Сборка пакета | ||
run: opm build . | ||
|
||
- name: Заливка артефактов | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: package.zip | ||
path: ./${{ env.PACKAGE_MASK }} | ||
|
||
#- name: Заливка в релиз | ||
# uses: AButler/[email protected] | ||
# with: | ||
# files: ./${{ env.PACKAGE_MASK }} | ||
# repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Публикация в hub.oscript.io | ||
shell: bash | ||
run: opm push -f ./${{ env.PACKAGE_MASK }} --token ${{ secrets.PUSH_TOKEN }} -c stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ tests-reports/ | |
.sonar/ | ||
.idea/ | ||
out/ | ||
tests/jsondatabase | ||
oscript_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,11 @@ | |
// | ||
// BSLLS:CodeOutOfRegion-off | ||
Описание.Имя("entity") | ||
.Версия("2.3.3.1") | ||
.Версия("2.3.4.0") | ||
.Автор("Nikita Gryzlov") | ||
.АдресАвтора("[email protected]") | ||
.Описание("entity") | ||
.ВерсияСреды("1.2.0") | ||
.ВерсияСреды("1.8.3") | ||
.ВключитьФайл("src") | ||
.ВключитьФайл("tests") | ||
.ВключитьФайл("lib.config") | ||
|
@@ -20,9 +20,9 @@ | |
.ЗависитОт("fs", "1.0.0") | ||
.ЗависитОт("logos", "1.2.1") | ||
.ЗависитОт("json", "1.1.1") | ||
.ЗависитОт("decorator", "1.2.0") | ||
.ЗависитОт("decorator", "1.5.1") | ||
.ЗависитОт("reflector", "0.6.1") | ||
.ЗависитОт("semaphore", "1.0.1") | ||
.ЗависитОт("semaphore", "1.1.0") | ||
.ЗависитОт("sql", "1.1.1.2") | ||
.ЗависитОт("strings", "0.5.0") | ||
.РазработкаЗависитОт("1bdd") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
&Идентификатор | ||
Перем Идентификатор Экспорт; | ||
|
||
Перем Поле Экспорт; | ||
|
||
&Сущность(ИмяТаблицы = "ПростыеОбъекты") | ||
Процедура ПриСозданииОбъекта() | ||
|
||
КонецПроцедуры |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters