Skip to content

.net 8 support

.net 8 support #7

Workflow file for this run

name: Run Source generator on many SDKs in Docker
on:
push:
branches:
- main
pull_request:
branches: [ main ]
jobs:
setup:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.matrix.outputs.value }}
steps:
- id: matrix
run: |
echo "value=[\"6.0-alpine\", \"7.0-alpine\", \"8.0-alpine\"]" >> $GITHUB_OUTPUT
- run: |
echo "${{ steps.matrix.outputs.value }}"
build:
needs: [ setup ]
runs-on: ubuntu-latest
strategy:
matrix:
value: ${{fromJSON(needs.setup.outputs.matrix)}}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build Docker image ${{ matrix.value }}
id: build
uses: docker/build-push-action@v5
with:
context: .
file: Typezor.Tests.SourceGenerator.Demo/Dockerfile
push: false
build-args: VARIANT=${{ matrix.value }}