Hello, my team and I are having an issue where kendo is not activated when building with github actions. This issue first surfaced when our license expired which led us to believe it is a caching issue. After updating the license in the variables and clearing the actions cache we are not seeing the activation happen successfully even though the same license activates correctly locally, and says it is correct during the github action build step. I have attached a cut down action .yml for reference. Looking for suggestions on additional things to check.
# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Automated Pipeline
on:
push:
branches: [ "master" ]
paths-ignore:
- 'docs/**'
env:
PACKAGE_VERSION: ${{ format('1.0.{0}', github.run_number) }}
jobs:
build:
runs-on: windows-latest-l
steps:
# Check out code
- uses: actions/checkout@v4
# Configure Environment
- name: Display Package Version
run: echo "PACKAGE_VERSION = $env:PACKAGE_VERSION"
- name: Configure .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
cache-dependency-path: "**/yarn.lock"
# Restore Dependencies
- name: Restore dependencies
run: dotnet restore ./OurApp.sln
- name: Yarn install Portal
run: yarn --cwd ./src/WebApp2Frontend install
- name: Yarn install App
run: yarn --cwd ./src/WebApp1Frontend install
- name: Yarn run tests
run: yarn --cwd ./src/WebApp1Frontend run test
# Update Version Numbers
- name: .NET project version updater
uses: vers-one/dotnet-project-version-updater@v1.6
with:
file: "**/*.fsproj"
version: ${{ env.PACKAGE_VERSION }}
# Generate code files
# Activate Kendo Licenses (App)
- name: Activate Kendo UI License (App)
run: yarn --cwd ./src/WebApp1Frontend run kendo-ui-license activate
env:
KENDO_UI_LICENSE: ${{ secrets.KENDO_UI_LICENSE }}
# Activate Kendo Licenses (App2)
- name: Activate Kendo UI License (App2)
run: yarn --cwd ./src/WebApp2Frontend run kendo-ui-license activate
env:
KENDO_UI_LICENSE: ${{ secrets.KENDO_UI_LICENSE }}
# Build (runs "yarn run build" in the frontend projects)
- name: Build
run: dotnet build ./OurApp.sln --no-restore --configuration Release
# Tests
- name: Test
run: dotnet test
continue-on-error: true
# Publish
- name: Publish WebApp2
run: dotnet publish ./src/WebApp2/WebApp2.fsproj --no-build --configuration Release --output $env:GITHUB_WORKSPACE/artifacts/app2
- name: Publish WebApp1
run: dotnet publish ./src/WebApp1/WebApp1.fsproj --no-build --configuration Release --output $env:GITHUB_WORKSPACE/artifacts/app1
# Upload Artifacts
# Octopus Deploy Package
# Data Warehouse and Pulumi package already exists
# Octopus Deploy Push
# Create Octopus Release