Bump Markdig from 0.44.0 to 1.0.0 #280
Workflow file for this run
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: CI (Release) | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Restore dependencies | |
| run: dotnet restore | |
| - name: Build | |
| run: dotnet build -c Release --no-restore | |
| - name: Publish | |
| run: dotnet publish -p:PublishSingleFile=true -p:CommitHash=${{ github.sha }} -p:CommitRef=${{ github.ref_type }}/${{ github.ref_name }} -r win-x64 -c Release --self-contained false .\Bloxstrap\Bloxstrap.csproj | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: Froststrap(Release) (${{ github.sha }}) | |
| path: .\Bloxstrap\bin\Release\net10.0-windows\win-x64\publish\* | |
| release: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| if: startsWith(github.ref, 'refs/tags/v') | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Download artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: Froststrap(Release) (${{ github.sha }}) | |
| path: release | |
| - name: Rename binaries | |
| run: mv release/Froststrap.exe Froststrap-${{ github.ref_name }}.exe | |
| - name: Create release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| draft: true | |
| files: Froststrap-${{ github.ref_name }}.exe | |
| name: Froststrap${{ github.ref_name }} | |
| fail_on_unmatched_files: true | |
| release-test: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| if: startsWith(github.ref, 'refs/tags/release-test') | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Download artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: Froststrap(Release) (${{ github.sha }}) | |
| path: release | |
| - name: Rename binaries | |
| run: mv release/Froststrap.exe Froststrap-${{ github.ref_name }}.exe | |
| - name: Create release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| draft: true | |
| files: Froststrap-${{ github.ref_name }}.exe | |
| name: Froststrap${{ github.ref_name }} | |
| fail_on_unmatched_files: true |