Skip to content

Merge pull request #148 from thomhurst/feature/fix-throwing-on-type-l… #86

Merge pull request #148 from thomhurst/feature/fix-throwing-on-type-l…

Merge pull request #148 from thomhurst/feature/fix-throwing-on-type-l… #86

name: Build and publish
on:
workflow_dispatch: # Ручной запуск
push:
branches: [ master ] # Запуск при пуше в master
pull_request:
branches: [ master ] # Запуск для pull_request в master
jobs:
build:
runs-on: ubuntu-latest
steps:
# Шаг 1: Клонируем репозиторий
- uses: actions/checkout@v3
# Шаг 2: Устанавливаем .NET SDK
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
8.0.x
9.0.x
# Шаг 3: Сборка проекта
- name: Build
env:
UPLOAD_NUGET: ${{ secrets.UPLOAD_NUGET }}
UPLOAD_NUGET_API_KEY: ${{ secrets.UPLOAD_NUGET_API_KEY }}
run: |
chmod a+x ./build.sh
./build.sh --target=Travis --verbosity=normal --ForceUploadPackages=true