Documentation: updated Windows 11 23H2 screenshots and screen recordi… #57
This file contains hidden or 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: .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: Unfuck Git | |
| run: git config set --global core.autocrlf false | |
| - name: Clone | |
| uses: actions/checkout@v6 | |
| - name: Restore | |
| run: dotnet restore --locked-mode | |
| - 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@v7 | |
| with: | |
| name: ${{ env.ProjectName }}-${{ matrix.targetPlatform }} | |
| path: ${{ env.ProjectName }}/bin/Release/net8.0-windows/${{ matrix.targetPlatform }}/publish/*.exe | |
| if-no-files-found: error |