initial commit
Pulsar .NET 9.0 Windows Release / build (push) Waiting to run
Mirror to Codeberg and Gitea / mirror (push) Waiting to run

This commit is contained in:
i2p
2026-08-27 10:57:58 -06:00
commit 773d05f8f1
1038 changed files with 109261 additions and 0 deletions
BIN
View File
Binary file not shown.
+77
View File
@@ -0,0 +1,77 @@
name: Bug report
description: Create a bug or crash report
labels: ["bug"]
body:
- type: input
attributes:
label: Pulsar version
placeholder: 1.4.0 or commit-id
validations:
required: true
- type: input
attributes:
label: Server installed .NET version
placeholder: .NET 6.0
- type: dropdown
attributes:
label: Server operating system
options:
- Windows 11/Server 2022
- Windows 10/Server 2019/2016
- Windows 8/8.1/Server 2012
- Windows 7/Server 2008 R2
- Other
validations:
required: true
- type: input
attributes:
label: Client installed .NET version
placeholder: .NET 6.0
- type: dropdown
attributes:
label: Client operating system
options:
- Windows 11/Server 2022
- Windows 10/Server 2019/2016
- Windows 8/8.1/Server 2012
- Windows 7/Server 2008 R2
- Other
validations:
required: true
- type: dropdown
attributes:
label: Build configuration
options:
- Debug
- Release
validations:
required: true
- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
attributes:
label: How to reproduce
description: The steps on how to reproduce the bug.
validations:
required: true
- type: textarea
attributes:
label: Expected behavior
description: Describe the result that you expect to get after performing the steps.
validations:
required: true
- type: textarea
attributes:
label: Actual behavior
description: Describe the actual behavior that you observed after performing the steps.
validations:
required: true
- type: textarea
attributes:
label: Additional context
description: Any other information that may help us fix the issue goes here (e.g. screenshots).
@@ -0,0 +1,23 @@
name: Feature request
description: Suggest a new feature
labels: ["enhancement"]
body:
- type: textarea
attributes:
label: Problem description
description: A clear and concise description of what the problem is.
placeholder: |
Example: "I'm always frustrated when [...]", or "I often need to [...]"
validations:
required: true
- type: textarea
attributes:
label: Proposal
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
+75
View File
@@ -0,0 +1,75 @@
name: Pulsar .NET 9.0 Windows Release
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: windows-latest
permissions:
contents: write
pull-requests: write
repository-projects: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup .NET 9.0
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Get Version
run: |
$version = (Get-Content Pulsar.Server/Utilities/ServerVersion.cs | Select-String 'Current = "([^"]+)"').Matches.Groups[1].Value
echo "VERSION=$version" >> $env:GITHUB_ENV
shell: pwsh
- name: Restore Dependencies
run: dotnet restore Pulsar.sln
- name: Build Solution
run: msbuild Pulsar.sln /p:Configuration=Release /p:Platform=AnyCPU
- name: Prepare Build Output
run: |
if (Test-Path "./bin/Release/net9.0-windows") {
Compress-Archive -Path "./bin/Release/net9.0-windows/*" -DestinationPath "pulsar-net-win64-${{ env.VERSION }}.zip"
Write-Host "Zipped net9.0-windows output"
} else {
Write-Host "Error: net9.0-windows output not found"
exit 1
}
shell: pwsh
- name: Upload Build Artifact
uses: actions/upload-artifact@v4
with:
name: windows-build-${{ env.VERSION }}
path: pulsar-net-win64-${{ env.VERSION }}.zip
- name: Delete existing release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release delete Pulsar-v${{ env.VERSION }} --yes --cleanup-tag || echo "No existing release/tag to delete"
shell: bash
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create Pulsar-v${{ env.VERSION }} pulsar-net-win64-${{ env.VERSION }}.zip \
-t "Pulsar-v${{ env.VERSION }}" \
-n "Automated build release for Pulsar v${{ env.VERSION }}" \
--draft=false \
--prerelease=false
shell: bash
+31
View File
@@ -0,0 +1,31 @@
name: Mirror to Codeberg and Gitea
on:
push:
branches: ["*"]
workflow_dispatch:
jobs:
mirror:
runs-on: ubuntu:22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # all history fr
- name: Mirror to Codeberg and Gitea
env:
CODEBERG_USERNAME: ${{ secrets.CODEBERG_USERNAME }}
CODEBERG_TOKEN: ${{ secrets.CODEBERG_TOKEN }}
GITEA_USERNAME: ${{ secrets.GITEA_USERNAME }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
git config --global user.name "GitHub Mirror Bot"
git config --global user.email "[email protected]"
git remote add codeberg https://$CODEBERG_USERNAME:[email protected]/$CODEBERG_USERNAME/Poopsar.git
git remote add gitea https://$GITEA_USERNAME:[email protected]/$GITEA_USERNAME/Poopsar.git
git push --mirror codeberg
git push --mirror gitea