Add option to get the d #193
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
name: Test master branch | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 6.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore | |
- name: Test | |
run: dotnet test --no-build --verbosity normal | |
- name: Publish Windows | |
run: dotnet publish -c Release -o FileDBReader | |
- name: Publish Linux | |
run : dotnet publish -c Release -o FileDBReader-Linux -r linux-x64 | |
- name: Package | |
run: | | |
tar --exclude='*.pdb' --exclude='./dev_files' --exclude='./ref' --exclude='*.runtimeconfig.dev.json' -caf FileDBReader-Linux.zip FileDBReader-Linux | |
tar --exclude='*.pdb' --exclude='./dev_files' --exclude='./ref' --exclude='*.runtimeconfig.dev.json' -caf FileDBReader.zip FileDBReader | |
tar -caf AnnoModsBBDom.zip -C FileDBReader/ AnnoMods.BBDom.dll | |
- name: Upload FileDBSerializer | |
uses: actions/upload-artifact@v2.2.4 | |
with: | |
# Artifact name | |
name: FileDBReader | |
path: | | |
FileDBReader.zip | |
FileDBReader-Linux.zip | |
AnnoModsBBDom.zip | |