Release/v5.4.0 #18
Workflow file for this run
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: Our.Umbraco.Iconic - CI | |
on: | |
pull_request: | |
env: | |
SOLUTION: Iconic.sln | |
OUTPUT_PATH: ${{ github.workspace }}/build.out | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Fetch all history for all tags and branches | |
run: git fetch --prune --unshallow | |
- name: Setup .NET Core SDK 6.x | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '6.x' | |
- name: Setup .NET Core SDK 7.x | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: '7.x' | |
- name: Install dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --configuration Release --no-restore | |
- name: Create the package | |
run: dotnet pack --configuration Release -o ${{ env.OUTPUT_PATH }} | |
- name: Upload NuGet artifacts | |
uses: actions/upload-artifact@v1 | |
with: | |
name: nuget | |
path: ${{ env.OUTPUT_PATH }} |