Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/nugetserver-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: NuGet.Server CI

on:
pull_request:
push:
branches:
- main
schedule:
- cron: '0 12 * * 1-5' # Weekdays at 8 AM Eastern (UTC 12:00)
workflow_dispatch:

env:
BuildConfiguration: Release
SimplePackageVersion: '1.0.0'

jobs:
build-and-test:
name: Build and Test
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Build
shell: powershell
run: |
$buildNumber = "${{ github.run_number }}"
$branch = "${{ github.ref_name }}" -replace '[_/]', '-'
.\build.ps1 `
-Configuration $env:BuildConfiguration `
-BuildNumber $buildNumber `
-SimpleVersion $env:SimplePackageVersion `
-SemanticVersion "$env:SimplePackageVersion-$branch-$buildNumber" `
-Branch "${{ github.ref_name }}" `
-CommitSHA "${{ github.sha }}"

- name: Run tests
shell: powershell
run: |
.\test.ps1 `
-Configuration $env:BuildConfiguration `
-BuildNumber ${{ github.run_number }}

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: test-results
path: Results.*.xml
86 changes: 0 additions & 86 deletions .pipelines/NuGet.Server-CI.yml

This file was deleted.

Loading