Skip to content

Build dotnet with GitHub Actions #24

Build dotnet with GitHub Actions

Build dotnet with GitHub Actions #24

Workflow file for this run

name: Build dotnet
on:
push:
branches:
- main
pull_request: # XXX
jobs:
runtime:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [ppc64le, s390x, x64]
steps:
- uses: actions/checkout@v4
- name: Configure git
run: git config --global user.email [email protected] &&
git config --global user.name "dotnet-s390x bot"
- name: Prepare
container:

Check failure on line 21 in .github/workflows/dotnet.yml

View workflow run for this annotation

GitHub Actions / Build dotnet

Invalid workflow file

The workflow is not valid. .github/workflows/dotnet.yml (Line: 21, Col: 7): Unexpected value 'container' .github/workflows/dotnet.yml (Line: 28, Col: 7): Unexpected value 'container'
image: ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
credentials:
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_PASSWORD }}
run: cd dotnet-s390x && ./dotnet-prepare runtime
- name: Build
container:
image: ghcr.io/ibm/dotnet-${{ matrix.arch }}-toolchain:latest
credentials:
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_PASSWORD }}
run: cd dotnet-s390x && ARCH=${{ matrix.arch }} ./dotnet-build runtime