add more convert incorrect key string cases #8
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 & Publish | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
workflow: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 7.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build --no-restore -c Release | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ChefKeys | |
path: Output/Release/ | |
# - name: Publish To NuGet | |
# if: ${{ github.ref == 'refs/heads/main' }} | |
# run: nuget push Output\Release\*.nupkg -Source 'https://api.nuget.org/v3/index.json' -ApiKey ${{secrets.PUBLISH}} | |
# - name: Get Version | |
# if: ${{ github.ref == 'refs/heads/main' }} | |
# run: | | |
# $version = [System.Diagnostics.FileVersionInfo]::GetVersionInfo("Output\Release\ChefKeys.dll").ProductVersion | |
# echo "RELEASE_VERSION=$version" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append | |
# - name: Publish To GitHub Releases | |
# if: ${{ github.ref == 'refs/heads/main' }} | |
# uses: softprops/action-gh-release@v1 | |
# with: | |
# files: "Output\\Release\\*.nupkg" | |
# tag_name: "v${{ env.RELEASE_VERSION }}" |