Skip to content

Merge branch 'master' of https://github.com/ClusterM/AliceNet #10

Merge branch 'master' of https://github.com/ClusterM/AliceNet

Merge branch 'master' of https://github.com/ClusterM/AliceNet #10

Workflow file for this run

name: Build and pack
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
pull_request:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
APP_NAME: AliceNet
INPUT_DIR: AliceNet
OUTPUT_DIR: output
CONFIGURATION: Release
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 8.x.x
- name: Build
run: dotnet build ${{ env.INPUT_DIR }} -c ${{ env.CONFIGURATION }} -o ${{ env.OUTPUT_DIR }}
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ env.APP_NAME }}
path: ${{ env.OUTPUT_DIR }}