when: - event: tag - event: pull_request steps: - name: Build image: mcr.microsoft.com/dotnet/sdk:8.0 run: dotnet build -c Release - name: Test image: mcr.microsoft.com/dotnet/sdk:8.0 run: dotnet test - name: Publish image: mcr.microsoft.com/dotnet/sdk:8.0 run: | cd .\EllieHub\ dotnet publish -c Release -r win-x64 -o "EllieHub_win-x64" --self-contained dotnet publish -c Release -r win-arm64 -o "EllieHub_win-arm64" --self-contained cd ..\ - name: Package image: docker.io/ubuntu:24.04 commands: - apt update - apt install tar zip - zip EllieHub_win-x64 EllieHub_win-x64.zip - zip EllieHub_win-arm64 EllieHub_win-arm64.zip