Files
Test/.gitea/workflows/buildproject.yaml
Fynn Wittich b7ff38224c
All checks were successful
Gitea Actions Demo / Publish Dotnet 8.0.405 Profile PublishLinuxX64 (push) Successful in 2m11s
Gitea Actions Demo / Publish Dotnet 8.0.405 Profile PublishWinX64 (push) Successful in 1m21s
Update buildproject.yaml
2025-01-18 18:09:15 +01:00

23 lines
742 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 }}
- name: Build Publish Project
run: dotnet publish GiteaTest.sln -p:PublishProfile=${{ matrix.publishprofile }}
- run: ls -a
- run: tar -cvzf ${{ matrix.publishprofile }}.tar.gz GiteaTest/publish