Skip to content

Use release manager

Use release manager #7

Workflow file for this run

name: Release

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 27, Col: 5): Unexpected value 'environment', (Line: 42, Col: 5): Unexpected value 'environment'
on:
workflow_dispatch:
inputs:
create_release:
description: 'Create GitHub Release'
required: true
type: boolean
default: true
jobs:
release-for-avalonia:
uses: AvaloniaUI/build-common/.github/workflows/library-cicd.yml@main
with:
runs_on: windows-latest
install_workloads: "android ios"
dotnet_sdk: 10.0.103
artifact_glob: Avalonia.Controls.WebView.*.nupkg
artifact_name: Avalonia.Controls.WebView
validate_release_branch: true
create_github_release: ${{inputs.create_release}}
nuget_feed: ${{ vars.RELEASE_MANAGER_UPLOAD_URL }}
secrets:
nuget_api_key: ${{ secrets.RELEASE_MANAGER_API_KEY }}
environment:
name: release
release-for-xpf:
uses: AvaloniaUI/build-common/.github/workflows/library-cicd.yml@main
with:
runs_on: windows-latest
install_workloads: "android ios"
dotnet_sdk: 10.0.103
artifact_glob: Avalonia.Xpf.Controls.WebView.*.nupkg
artifact_name: Avalonia.Xpf.Controls.WebView
validate_release_branch: true
nuget_feed: ${{ vars.RELEASE_MANAGER_UPLOAD_URL_XPF }}
secrets:
nuget_api_key: ${{ secrets.RELEASE_MANAGER_API_KEY }}
environment:
name: release