Skip to content

🔧 Install .NET 6.0 in CI #152

🔧 Install .NET 6.0 in CI

🔧 Install .NET 6.0 in CI #152

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.303'
# 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.303'
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 }}