Skip to content

#8: Catch COMException, added logging, extracted SecurityKeyChooser i… #16

#8: Catch COMException, added logging, extracted SecurityKeyChooser i…

#8: Catch COMException, added logging, extracted SecurityKeyChooser i… #16

Workflow file for this run

name: .NET
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
env:
ProjectName: AuthenticatorChooser
runs-on: windows-latest
strategy:
matrix:
include:
- targetPlatform: win-x64
- targetPlatform: win-arm64
steps:
- name: Clone
uses: actions/checkout@v4
- name: Restore
run: dotnet restore --locked-mode --verbosity normal
- name: Build
run: dotnet build ${{ env.ProjectName }} --no-restore --runtime ${{ matrix.targetPlatform }} --configuration Release --no-self-contained
- name: Publish
run: dotnet publish ${{ env.ProjectName }} --no-build --runtime ${{ matrix.targetPlatform }} --configuration Release --no-self-contained -p:PublishSingleFile=true
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.ProjectName }}-${{ matrix.targetPlatform }}
path: ${{ env.ProjectName }}/bin/Release/net8.0-windows/${{ matrix.targetPlatform }}/publish/*.exe
path: ${{ env.ProjectName }}/bin/Release/net8.0-windows/${{ matrix.targetPlatform }}/publish/*.pdb

Check failure on line 39 in .github/workflows/dotnet.yml

View workflow run for this annotation

GitHub Actions / .NET

Invalid workflow file

The workflow is not valid. .github/workflows/dotnet.yml (Line: 39, Col: 9): 'path' is already defined
if-no-files-found: error