Skip to content

Try pack all

Try pack all #4

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: .NET
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: 8.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: |
bin/Release/net8.0/linux-arm64/*
bin/Release/net8.0/linux-arm64/*.dll