Skip to content

[new feature] Connection with Identity - Issue #73 #86

[new feature] Connection with Identity - Issue #73

[new feature] Connection with Identity - Issue #73 #86

Workflow file for this run

name: CI build
env:
OUTPUT_PATH: ${{ github.workspace }}/.nupkg
DOTNET_VERSION: "6.0.x"
GITHUB_SOURCE: "https://nuget.pkg.github.com/aaronpowell/index.json"
CONFIGURATION: "Debug"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Dotnet ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Restore dotnet tools
run: dotnet tool restore
- name: Generate packages
run: dotnet fake run ./build.fsx --target CI
- name: Publish release packages
uses: actions/upload-artifact@v3
with:
name: packages
path: ${{ env.OUTPUT_PATH }}
publish-github:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: packages
path: ${{ env.OUTPUT_PATH }}
- name: Setup .NET Core ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Publish
run: dotnet nuget push --api-key ${{ secrets.GITHUB_TOKEN }} --source ${{ env.GITHUB_SOURCE }} "FSharp.CosmosDB*.nupkg"
working-directory: ${{ env.OUTPUT_PATH }}