Skip to content

Add Tales.Compression based off topdec #46

Add Tales.Compression based off topdec

Add Tales.Compression based off topdec #46

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies for program
run: dotnet restore HyoutaToolsCLI/HyoutaToolsCLI.csproj
- name: Build program
run: dotnet build --configuration Release --no-restore HyoutaToolsCLI/HyoutaToolsCLI.csproj
- name: Restore dependencies for tests
run: dotnet restore HyoutaToolsTests/HyoutaToolsTests.csproj
- name: Build tests
run: dotnet build --configuration Release --no-restore HyoutaToolsTests/HyoutaToolsTests.csproj
- name: Test
run: dotnet test --configuration Release --no-build --verbosity normal HyoutaToolsTests/HyoutaToolsTests.csproj
- name: Publish
run: dotnet publish --configuration Release --no-build HyoutaToolsCLI/HyoutaToolsCLI.csproj --output _publish
- run: mv LICENSE LICENSE_HyoutaTools
- run: mv utf_tab-sharp/LICENSE LICENSE_utf_tab-sharp
- run: mv zlib-sharp/LICENSE LICENSE_zlib-sharp
- run: mv HyoutaUtils/LICENSE LICENSE_HyoutaUtils
- run: mv LICENSE* _publish
- run: mv README.md _publish
- uses: actions/upload-artifact@v3
with:
name: HyoutaToolsCLI
path: _publish