chore(deps): update dependency verify.xunit to 31.10.0 #369
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
| # SPDX-FileCopyrightText: 2025-2026 Cesium contributors <https://github.com/ForNeVeR/Cesium> | |
| # | |
| # SPDX-License-Identifier: MIT | |
| name: Release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - renovate/** | |
| tags: [ 'v*' ] | |
| pull_request: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * 0' | |
| jobs: | |
| main: | |
| runs-on: ${{ matrix.environment }} | |
| strategy: | |
| matrix: | |
| environment: | |
| - macos-15 | |
| - ubuntu-24.04 | |
| - windows-2025 | |
| fail-fast: false | |
| env: | |
| DOTNET_NOLOGO: 1 | |
| DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
| NUGET_PACKAGES: ${{ github.workspace }}/.github/nuget-packages | |
| steps: | |
| - name: π Fetch Sources π | |
| uses: actions/checkout@v6 | |
| - name: π‘ Perform Common Steps π‘ | |
| uses: ./.github/workflows/perform-common-steps | |
| - name: π¦ Pack Everything π¦ | |
| shell: bash | |
| run: dotnet nuke PackAllCompilerRuntimeSpecificBundles PackCompilerBundleNuPkg PackCompilerTool PackSdk PackTemplates --configuration Release | |
| - id: version | |
| name: π Get Version π | |
| shell: pwsh | |
| run: echo "version=$(scripts/Get-Version.ps1 -RefName $env:GITHUB_REF)" >> $env:GITHUB_OUTPUT | |
| - name: β Upload Compiler β | |
| uses: actions/upload-artifact@v6 | |
| if: runner.os == 'Linux' | |
| with: | |
| if-no-files-found: 'error' | |
| name: Compiler | |
| path: |- | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.${{ steps.version.outputs.version }}.nupkg | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.linux-arm64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.linux-x64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.osx-arm64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.osx-x64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.win-arm64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.win-x64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.win-x86.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.${{ steps.version.outputs.version }}.nupkg | |
| ./artifacts/package/release/Cesium.Compiler.${{ steps.version.outputs.version }}.snupkg | |
| - name: β Upload Runtime β | |
| uses: actions/upload-artifact@v6 | |
| if: runner.os == 'Linux' | |
| with: | |
| if-no-files-found: 'error' | |
| name: Runtime | |
| path: |- | |
| ./artifacts/package/release/Cesium.Runtime.${{ steps.version.outputs.version }}.nupkg | |
| ./artifacts/package/release/Cesium.Runtime.${{ steps.version.outputs.version }}.snupkg | |
| - name: β Upload SDK β | |
| uses: actions/upload-artifact@v6 | |
| if: runner.os == 'Linux' | |
| with: | |
| if-no-files-found: 'error' | |
| name: SDK | |
| path: |- | |
| ./artifacts/package/release/Cesium.Sdk.${{ steps.version.outputs.version }}.nupkg | |
| - name: β Upload Templates β | |
| uses: actions/upload-artifact@v6 | |
| if: runner.os == 'Linux' | |
| with: | |
| if-no-files-found: 'error' | |
| name: Templates | |
| path: |- | |
| ./artifacts/package/release/Cesium.Templates.${{ steps.version.outputs.version }}.nupkg | |
| - name: π Read changelog π | |
| uses: ForNeVeR/ChangelogAutomation.action@v2 | |
| with: | |
| output: ./release-notes.md | |
| - name: β Upload the changelog β | |
| uses: actions/upload-artifact@v6 | |
| if: runner.os == 'Linux' | |
| with: | |
| if-no-files-found: 'error' | |
| name: release-notes | |
| path: |- | |
| ./release-notes.md | |
| - if: startsWith(github.ref, 'refs/tags/v') && runner.os == 'Linux' | |
| name: π Create a release π | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| body_path: ./release-notes.md | |
| files: |- | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.${{ steps.version.outputs.version }}.nupkg | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.linux-arm64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.linux-x64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.osx-arm64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.osx-x64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.win-arm64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.win-x64.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.Bundle.win-x86.${{ steps.version.outputs.version }}.zip | |
| ./artifacts/package/release/Cesium.Compiler.${{ steps.version.outputs.version }}.nupkg | |
| ./artifacts/package/release/Cesium.Compiler.${{ steps.version.outputs.version }}.snupkg | |
| ./artifacts/package/release/Cesium.Runtime.${{ steps.version.outputs.version }}.nupkg | |
| ./artifacts/package/release/Cesium.Runtime.${{ steps.version.outputs.version }}.snupkg | |
| ./artifacts/package/release/Cesium.Sdk.${{ steps.version.outputs.version }}.nupkg | |
| ./artifacts/package/release/Cesium.Templates.${{ steps.version.outputs.version }}.nupkg | |
| name: Cesium v${{ steps.version.outputs.version }} | |
| - if: startsWith(github.ref, 'refs/tags/v') && runner.os == 'Linux' | |
| name: π¦ Publish Compiler Bundle π¦ | |
| run: dotnet nuget push ./artifacts/package/release/Cesium.Compiler.Bundle.${{ steps.version.outputs.version }}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }} | |
| - if: startsWith(github.ref, 'refs/tags/v') && runner.os == 'Linux' | |
| name: π¦ Publish Compiler π¦ | |
| run: dotnet nuget push ./artifacts/package/release/Cesium.Compiler.${{ steps.version.outputs.version }}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }} | |
| - if: startsWith(github.ref, 'refs/tags/v') && runner.os == 'Linux' | |
| name: π¦ Publish Runtime π¦ | |
| run: dotnet nuget push ./artifacts/package/release/Cesium.Runtime.${{ steps.version.outputs.version }}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }} | |
| - if: startsWith(github.ref, 'refs/tags/v') && runner.os == 'Linux' | |
| name: π¦ Publish SDK π¦ | |
| run: dotnet nuget push ./artifacts/package/release/Cesium.Sdk.${{ steps.version.outputs.version }}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }} | |
| - if: startsWith(github.ref, 'refs/tags/v') && runner.os == 'Linux' | |
| name: π¦ Publish Templates π¦ | |
| run: dotnet nuget push ./artifacts/package/release/Cesium.Templates.${{ steps.version.outputs.version }}.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_TOKEN }} |