Skip to content

❇️ Re-implementation of plugins API #136

❇️ Re-implementation of plugins API

❇️ Re-implementation of plugins API #136

name: Build and release
on:
# Dev
workflow_dispatch:
pull_request:
push:
# Preview
branches: [ develop ]
# Stable
tags: [ "v*" ]
jobs:
build:
name: "Build"
uses: ./.github/workflows/build.yml
with:
dotnet_version: '8.0.100'
# Preview release on push to main only
# Stable release on version tag push only
deploy:
name: "Deploy"
if: github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags/v')
needs: build
uses: ./.github/workflows/deploy.yml
with:
dotnet_version: '8.0.100'
azure_nuget_feed: 'https://pkgs.dev.azure.com/SceneGate/SceneGate/_packaging/SceneGate-Preview/nuget/v3/index.json'
secrets:
nuget_preview_token: "az" # Dummy values as we use Azure DevOps only
nuget_stable_token: ${{ secrets.NUGET_FEED_TOKEN }}
azure_nuget_token: ${{ secrets.ADO_NUGET_FEED_TOKEN }}