Version bump to 1.1.7 (for NuGet) #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |