-
Notifications
You must be signed in to change notification settings - Fork 20
Ga script #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ga script #76
Conversation
.github/workflows/dotnet-core.yml
Outdated
| with: | ||
| dotnet-version: 3.1.301 | ||
| - name: Build | ||
| run: dotnet build ${{env.MAIN_PROJECT}} -c Release -r linux-x64 -f netcoreapp3.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
если команды отличаются только версией в релизах, то можно через матричный билд свести это к одной build-конфигурации.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
команды отличаются ключом -r (linux-x64 vs win-x64) но это наверное тоже можно сделать через матрицу. Только я не умею )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Смотри вот тут пример. Суть - в matrix на первом уровне есть перечисление os с доступными вариантами, а в include для каждого варианта os доустанавливаются дополнительные значения, например prefix. далее по коду воркфлоу ты можешь обращаться к этому значению через matrix.prefix https://github.com/1c-syntax/bsl-language-server/blob/develop/.github/workflows/release.yml#L79
Черновик сборки netcore
|
@EvilBeaver #79 - добавил PUBLISH к этому бранчу и портировал старый #75 |
No description provided.