QR code support for promo vid #27
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 deploy Chavah | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
# If this workflow is already running, cancel it. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '6.0.x' | |
include-prerelease: true | |
- name: Build with dotnet | |
run: dotnet build Chavah.NetCore\Chavah.NetCore.csproj --configuration Release | |
- name: Write publish profile to directory | |
uses: DamianReeves/write-file-action@v1.2 | |
with: | |
path: ${{ env.home }}/ChavahOnVm.pubxml | |
contents: | | |
${{ secrets.PUBLISH_PROFILE }} | |
write-mode: overwrite | |
- name: dotnet publish | |
run: dotnet publish -c Release -o Publish /p:PublishProfileFullPath=${{ env.home }}/ChavahOnVm.pubxml |