diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml deleted file mode 100644 index 2d1c57d..0000000 --- a/.github/workflows/build-release.yml +++ /dev/null @@ -1,78 +0,0 @@ -name: Publish release - -on: - push: - tags: - - '*' - workflow_dispatch: - -jobs: - release: - runs-on: windows-latest - permissions: - contents: write - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Extract version - id: ver - run: echo "version=${GITHUB_REF_NAME}" >> $GITHUB_OUTPUT - shell: bash - - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '8.0.x' - - - name: Build NebulaAuth - run: dotnet publish src/NebulaAuth/NebulaAuth.csproj -c Release -o build - - - name: Package release - run: | - cd build - powershell Compress-Archive * "../NebulaAuth.${env:GITHUB_REF_NAME}.zip" - shell: pwsh - - - name: Install pandoc - run: | - choco install pandoc -y - - - name: Convert changelog HTML to Markdown (ul-only) - id: changelog - shell: bash - run: | - version="${{ steps.ver.outputs.version }}" - file="changelog/${version}.html" - echo "Looking for file: $file" - - if [ -f "$file" ]; then - echo "✅ File found, extracting