Json Serializing bugs fixed (#137) #72
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: Functions-release to slot release | |
on: | |
push: | |
branches: | |
- releases/* | |
# CONFIGURATION | |
# For help, go to https://github.com/Azure/Actions | |
# | |
# 1. Set up the following secrets in your repository: | |
# AZURE_FUNCTIONAPP_PUBLISH_PROFILE_RELEASE | |
jobs: | |
build-and-deploy: | |
runs-on: windows-latest | |
steps: | |
- name: 'Checkout GitHub Action' | |
uses: actions/checkout@main | |
- name: Setup DotNet Environment | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: '6.0.x' | |
- name: 'Resolve Project Dependencies Using Dotnet' | |
shell: pwsh | |
run: | | |
pushd './MeetUpFunctions' | |
dotnet nuget add source --username rbrands --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/rbrands/index.json" | |
dotnet build --configuration Release --output ./output | |
popd | |
- name: 'Run Azure Functions Action' | |
uses: Azure/functions-action@v1 | |
id: fa | |
with: | |
app-name: 'meetupplanner' | |
slot-name: 'release' | |
package: 'MeetUpFunctions/output' | |
publish-profile: ${{ secrets.AZURE_FUNCTIONAPP_PUBLISH_PROFILE_RELEASE }} |