kind: pipeline name: default steps: - name: build image: mcr.microsoft.com/dotnet/sdk:9.0 commands: - dotnet build --configuration Release SlucovaniRozpisek.csproj - name: installer image: git.ivasoft.cz/sw/docker-wine-dotnet commands: - wine tlbexp.exe bin/Release/net472/SlucovaniRozpisek.dll /out:bin/Release/net472/SlucovaniRozpisek.tlb - wine Eazfuscator.NET.exe bin/Release/net9.0-windows/SlucovaniRozpisek.dll -k key.snk -n --newline-flush # HACK Second build is success as first invocation fails # dotnet exec msi validate build.sh # HACK Until dotnet 9 get released and have the bug https://github.com/dotnet/runtime/issues/98441 fixed - apt update && apt install socat - chmod +x build.sh - socat -u EXEC:"./build.sh",pty,stderr,sigint,setsid,sane - when: event: tag - name: gitea_release image: plugins/gitea-release settings: api_key: from_secret: drone_release base_url: https://git.exprojekt.cz files: 'bin/Release/**/*.msi' when: event: tag