Skip to content

fix bookru

fix bookru #139

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c release
- name: Test
run: dotnet test --no-build --verbosity normal
- name: AcademiaMoscow.Parser
run: >
dotnet publish Parsers/AcademiaMoscow.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: BiblioClub.Parser
run: >
dotnet publish Parsers/BiblioClub.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: BiblioRossica.Parser
run: >
dotnet publish Parsers/BiblioRossica.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: BookRu.Parser
run: >
dotnet publish Parsers/BookRu.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: IBooks.Parser
run: >
dotnet publish Parsers/BookRu.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: IprBookShop.Parser
run: >
dotnet publish Parsers/IprBookShop.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: LanBook.Parser
run: >
dotnet publish Parsers/LanBook.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: ProfSpo.Parser
run: >
dotnet publish Parsers/ProfSpo.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: RuCont.Parser
run: >
dotnet publish Parsers/RuCont.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: StudentLibrary.Parser
run: >
dotnet publish Parsers/StudentLibrary.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: Urait.Parser
run: >
dotnet publish Parsers/Urait.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: Znanium.Parser
run: >
dotnet publish Parsers/Znanium.Parser -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- name: Book.Comparer
run: >
dotnet publish Comparer/Book.Comparer -c release -p:PublishDir=${{ github.workspace }}/dist/small --no-self-contained
-p:PublishSingleFile=false -p:DebugType=embedded -p:PublishTrimmed=false
-p:EnableCompressionInSingleFile=false --use-current-runtime
- uses: actions/upload-artifact@v3
with:
name: ElsParsers-${{ matrix.os }}
path: ${{ github.workspace }}/dist/small