name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 on: [push] jobs: build: runs-on: ubuntu-latest strategy: matrix: dotnet: [ '8.0.405' ] publishprofile: [ 'PublishLinuxX64', 'PublishWinX64' ] name: Publish Dotnet ${{ matrix.dotnet }} Profile ${{ matrix.publishprofile }} steps: - uses: actions/checkout@master - name: Setup dotnet uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ matrix.dotnet }} - run: dotnet publish GiteaTest.sln -p:PublishProfile=${{ matrix.publishprofile }} - run: zip -r ${{ matrix.publishprofile }}.zip publish