Use repository variable for NuGet login #5
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: "Core CI" | |
| on: | |
| pull_request: | |
| branches: [release, dev] | |
| paths: | |
| - src/** | |
| - "!src/PackageRegistryService/**" | |
| - tests/** | |
| - build/** | |
| - build.cmd | |
| - build.sh | |
| - "*.sln" | |
| - "*.slnx" | |
| - global.json | |
| - Directory.Build.props | |
| - Directory.Packages.props | |
| - .config/** | |
| - package.json | |
| - pyproject.toml | |
| - uv.lock | |
| - .github/workflows/ci.yml | |
| - .github/workflows/run-build-target.yml | |
| - .github/workflows/release-package.yml | |
| - .github/workflows/release-client.yml | |
| - .github/workflows/release-client-interop.yml | |
| - .github/workflows/release-model.yml | |
| - .github/workflows/release-codecs.yml | |
| - .github/workflows/verify-release.yml | |
| - .github/actions/setup-portable/** | |
| push: | |
| branches: [release, dev] | |
| paths: | |
| - src/** | |
| - "!src/PackageRegistryService/**" | |
| - tests/** | |
| - build/** | |
| - build.cmd | |
| - build.sh | |
| - "*.sln" | |
| - "*.slnx" | |
| - global.json | |
| - Directory.Build.props | |
| - Directory.Packages.props | |
| - .config/** | |
| - package.json | |
| - pyproject.toml | |
| - uv.lock | |
| - .github/workflows/ci.yml | |
| - .github/workflows/run-build-target.yml | |
| - .github/workflows/release-package.yml | |
| - .github/workflows/release-client.yml | |
| - .github/workflows/release-client-interop.yml | |
| - .github/workflows/release-model.yml | |
| - .github/workflows/release-codecs.yml | |
| - .github/workflows/verify-release.yml | |
| - .github/actions/setup-portable/** | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: "Build and test projects" | |
| uses: ./.github/workflows/run-build-target.yml | |
| with: | |
| target: TestSolution | |
| windows: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/release') || (github.event_name == 'pull_request' && github.base_ref == 'release') }} | |
| ubuntu: true | |
| macos: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/release') || (github.event_name == 'pull_request' && github.base_ref == 'release') }} |