Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace AppVeyor with GitHub workflow #1461

Merged
merged 1 commit into from
Aug 13, 2024
Merged
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
15 changes: 2 additions & 13 deletions .github/workflows/NUnitConsoleAndEngine.CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ env:
DOTNET_CLI_TELEMETRY_OPTOUT: true # Disable sending .NET CLI telemetry

jobs:
build-windows:
name: Windows Build
ContinuousIntegration:
name: Continuous Integration
runs-on: windows-latest

env:
Expand Down Expand Up @@ -49,7 +49,6 @@ jobs:
CHOCO_API_KEY: ${{ secrets.PUBLISH_CHOCOLATEY_ORG }}
GITHUB_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_CP }}

#shell: pwsh
# If you need to get more verbose logging, add the following to the dotnet-cake above: --verbosity=diagnostic
run: dotnet cake --target=ContinuousIntegration --configuration=Release

Expand All @@ -62,16 +61,6 @@ jobs:
path: "build-results/*.binlog"
# if-no-files-found: error

# Wait with this until package errors (tests following packaging) are all fixed
# - name: 📦 Package
# run: dotnet tool run dotnet-cake --target=Package

# - name: 💾 Upload build artifacts
# uses: actions/upload-artifact@v4
# with:
# name: Package
# path: package

- name: 💾 Upload test results
uses: actions/upload-artifact@v4
if: always()
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/PublishDraftRelease.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish Draft Release on GitHub

on:
workflow_dispatch:
inputs:
version:
description: 'Release version (must match a mileston)'
required: true
type: string

jobs:
draft-release:
runs-on: ubuntu-latest

steps:
- name: ⤵️ Checkout Source
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: 🛠️ Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.100

- name: 🛠️ Install dotnet tools
run: dotnet tool restore

- name: 🔨 Create Draft Release
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_CP }}

run: dotnet cake --target=CreateDraftRelease --packageVersion={{inputs.version}}
1 change: 0 additions & 1 deletion NUnitConsole.sln
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.editorconfig = .editorconfig
.gitattributes = .gitattributes
.gitignore = .gitignore
appveyor.yml = appveyor.yml
azure-pipelines.yml = azure-pipelines.yml
build.cake = build.cake
build.cmd = build.cmd
Expand Down
33 changes: 0 additions & 33 deletions appveyor.yml

This file was deleted.

Loading