❇️ Re-implementation of plugins API #141
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: 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 }} |