Skip to content

Umbraco 16 (.NET 9) and Umbraco 17 (.NET 10) #28

Umbraco 16 (.NET 9) and Umbraco 17 (.NET 10)

Umbraco 16 (.NET 9) and Umbraco 17 (.NET 10) #28

Workflow file for this run

name: Articulate Build (Linux)
on:
push:
pull_request:
workflow_dispatch:
jobs:
build-linux:
runs-on: ubuntu-latest
env:
RELEASE_FOLDER: build/Release
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: dotnet/nbgv@master
with:
setAllVars: true
- name: Log Build Context
run: |
echo "Articulate Build Context"
echo "Version: ${NBGV_SemVer2}"
echo "Commit: ${NBGV_GitCommitIdShort}"
echo "Date: ${NBGV_GitCommitDate}"
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10.28
run_install: false
- name: Setup NodeJS
uses: actions/setup-node@v6
with:
node-version-file: "src/Articulate.Web/Client/.node-version"
cache: "pnpm"
cache-dependency-path: "src/Articulate.Web/Client/pnpm-lock.yaml"
- name: Resolve pnpm store path
id: pnpm-cache
run: |
echo "path=$(pnpm store path)" >> "$GITHUB_OUTPUT"
- name: Cache pnpm store
uses: actions/cache@v5
with:
path: ${{ steps.pnpm-cache.outputs.path }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('src/Articulate.Web/Client/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Setup .NET SDKs
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
9.0.309
10.0.102
- name: Run build pipeline script
run: bash ./build/build.sh
- name: Upload packages
uses: actions/upload-artifact@v6
with:
name: Articulate.${{ env.NBGV_SemVer2 }}.linux
path: ${{ env.RELEASE_FOLDER }}/Articulate.*