Skip to content

We are framework-dependent #9

We are framework-dependent

We are framework-dependent #9

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Compile bot
on:
push:
branches: [ "main", "debug-workflow" ]
pull_request:
branches: [ "main" ]
defaults:
run:
working-directory: ./Bot
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Build
run: dotnet publish -c Release -r linux-arm64 --no-self-contained
- name: Upload program
uses: actions/upload-artifact@v3
with:
name: Bot
path: |
Bot/bin/Release/net6.0/linux-arm64/Bot
Bot/bin/Release/net6.0/linux-arm64/*.dll
Bot/bin/Release/net6.0/linux-arm64/*.json
Bot/bin/Relesae/net6.0/linux-arm64/runtimes/linux-arm64/native/*