Files
Test/.gitea/workflows/buildproject.yaml
Fynn Wittich 9309287f10
Some checks failed
Gitea Actions Demo / Publish Dotnet 8.0.405 Profile PublishLinuxX64 (push) Failing after 1m12s
Gitea Actions Demo / Publish Dotnet 8.0.405 Profile PublishWinX64 (push) Failing after 1m14s
Update buildproject.yaml
2025-01-18 18:06:30 +01:00

22 lines
696 B
YAML

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: ls -a
- run: tar -cvzf ${{ matrix.publishprofile }}.tar.gz publish