#21 run java and chsarp snippets #1
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: csharp linux snippets | |
| on: | |
| push: | |
| branches-ignore: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| maven-linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - dotnet-version: "8" | |
| steps: | |
| - name: checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: ${{ matrix.dotnet-version }} | |
| - name: install Senzing runtime | |
| uses: senzing-factory/github-action-install-senzing-sdk@v2 | |
| with: | |
| packages-to-install: "senzingsdk-runtime senzingsdk-setup" | |
| senzingsdk-repository-package: ${{ secrets.SENZING_APT_BETA_STAGING_REPOSITORY_PACKAGE }} | |
| senzingsdk-repository-path: ${{ secrets.SENZING_APT_BETA_STAGING_REPOSITORY_URL }} | |
| - name: run csharp snippets | |
| run: | | |
| cd ${GITHUB_WORKSPACE}/csharp/runner | |
| dotnet run --project SnippetRunner all |