name: Build and publish mistserver on: push: branches: - main jobs: build: runs-on: alpine-linux steps: - name: checkout uses: actions/checkout@v4 - name: Setup .NET SDK run: apk add dotnet10-sdk - name: Restore Dependencies run: dotnet restore ./MistoxServer - name: Dotnet Publish run: dotnet publish ./MistoxServer --configuration Release --output ./publish --no-restore - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: dotnet-app-release path: ./publish