Skip to content

Add new feature to get environment details #56

Add new feature to get environment details

Add new feature to get environment details #56

Workflow file for this run

name: JourneyTeam.Xrm CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: ["5.0.x"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Setup cache
uses: actions/cache@v3
with:
path: ~/.nuget/packages
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget
- name: Nerdbank.GitVersioning
uses: dotnet/[email protected]
- name: Build project
run: dotnet build --configuration Release
- name: Create nupkg
run: dotnet pack --configuration Release
- name: Push nuget package
run: dotnet nuget push bin/Release/*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json