Skip to content

Update bios communicator library to support string inputs #23

Update bios communicator library to support string inputs

Update bios communicator library to support string inputs #23

name: Publish prerelease build
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up .NET 6
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.400
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Publish
run: cd TouchDcsConsole && dotnet publish -r win-x64 -p:PublishSingleFile=true -p:DebugType=None --no-self-contained -c Release -o publish
- name: Zip Folder
run: cd TouchDcsConsole/publish && zip -r touchdcs.zip .
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Latest Build"
files: |
**/touchdcs.zip