Skip to content

Update README.md

Update README.md #44

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: nes-containers
OUTPUT_DIR: output
CONFIGURATION: Release
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Build
run: dotnet build -c ${{ env.CONFIGURATION }}
- name: Pack
run: dotnet pack -c ${{ env.CONFIGURATION }} -o ${{ env.OUTPUT_DIR }}
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ env.APP_NAME }}
path: ${{ env.OUTPUT_DIR }}