From 7789f69e9bb53ac5481ddf95e134d2442760f3c8 Mon Sep 17 00:00:00 2001 From: Jimmy Byrd Date: Fri, 26 Jun 2020 13:25:21 -0400 Subject: [PATCH] Migrate to github actions --- .travis.yml | 22 ------------------- Content/Console/.travis.yml | 22 ------------------- Content/Console/README.md | 17 +++++++------- Content/Console/appveyor.yml | 14 ------------ Content/Library/.travis.yml | 22 ------------------- Content/Library/README.md | 8 +++---- Content/Library/appveyor.yml | 14 ------------ README.md | 11 +++++----- appveyor.yml | 14 ------------ docsSrc/How_Tos/Remove_Full_Framework.md | 18 --------------- docsSrc/Reference/Library_Output.md | 4 ---- .../Getting_Started_With_Libraries.md | 1 - docsSrc/index.md | 2 +- 13 files changed, 20 insertions(+), 149 deletions(-) delete mode 100644 .travis.yml delete mode 100644 Content/Console/.travis.yml delete mode 100644 Content/Console/appveyor.yml delete mode 100644 Content/Library/.travis.yml delete mode 100644 Content/Library/appveyor.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 96b360ce..00000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: csharp -sudo: required -dist: xenial - -dotnet: 3.1.100 -mono: - - latest # => "stable release" - - alpha - - beta - - weekly # => "latest commits" -os: - - linux - -script: - - ./build.sh - -matrix: - fast_finish: true - allow_failures: - - mono: alpha - - mono: beta - - mono: weekly diff --git a/Content/Console/.travis.yml b/Content/Console/.travis.yml deleted file mode 100644 index 96b360ce..00000000 --- a/Content/Console/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: csharp -sudo: required -dist: xenial - -dotnet: 3.1.100 -mono: - - latest # => "stable release" - - alpha - - beta - - weekly # => "latest commits" -os: - - linux - -script: - - ./build.sh - -matrix: - fast_finish: true - allow_failures: - - mono: alpha - - mono: beta - - mono: weekly diff --git a/Content/Console/README.md b/Content/Console/README.md index f8198a9b..556a7bb8 100644 --- a/Content/Console/README.md +++ b/Content/Console/README.md @@ -6,16 +6,17 @@ ## Builds -macOS/Linux | Windows ---- | --- -[![Travis Badge](https://travis-ci.org/MyGithubUsername/MyLib.1.svg?branch=master)](https://travis-ci.org/MyGithubUsername/MyLib.1) | [![Build status](https://ci.appveyor.com/api/projects/status/github/MyGithubUsername/MyLib.1?svg=true)](https://ci.appveyor.com/project/MyGithubUsername/MyLib.1) -[![Build History](https://buildstats.info/travisci/chart/MyGithubUsername/MyLib.1)](https://travis-ci.org/MyGithubUsername/MyLib.1/builds) | [![Build History](https://buildstats.info/appveyor/chart/MyGithubUsername/MyLib.1)](https://ci.appveyor.com/project/MyGithubUsername/MyLib.1) -## NuGet +GitHub Actions | +:---: | +[![GitHub Actions](https://github.com/MyGithubUsername/MyLib.1/workflows/Build%20master/badge.svg)](https://github.com/MyGithubUsername/MyLib.1/actions?query=branch%3Amaster) | +[![Build History](https://buildstats.info/github/chart/MyGithubUsername/MyLib.1)](https://github.com/MyGithubUsername/MyLib.1/actions?query=branch%3Amaster) | -Stable | Prerelease ---- | --- -[![NuGet Badge](https://buildstats.info/nuget/MyLib.1)](https://www.nuget.org/packages/MyLib.1/) | [![NuGet Badge](https://buildstats.info/nuget/MyLib.1?includePreReleases=true)](https://www.nuget.org/packages/MyLib.1/) +## NuGet + +Package | Stable | Prerelease +--- | --- | --- +MyLib.1 | [![NuGet Badge](https://buildstats.info/nuget/MyLib.1)](https://www.nuget.org/packages/MyLib.1/) | [![NuGet Badge](https://buildstats.info/nuget/MyLib.1?includePreReleases=true)](https://www.nuget.org/packages/MyLib.1/) --- diff --git a/Content/Console/appveyor.yml b/Content/Console/appveyor.yml deleted file mode 100644 index 0d99b962..00000000 --- a/Content/Console/appveyor.yml +++ /dev/null @@ -1,14 +0,0 @@ -init: - - git config --global core.autocrlf input -build_script: - - cmd: build.cmd -test: off -version: 0.0.1.{build} -image: Visual Studio 2019 -install: - - cmd: choco install dotnetcore-sdk -y -artifacts: - - path: bin - name: bin - - path: dist - name: dist diff --git a/Content/Library/.travis.yml b/Content/Library/.travis.yml deleted file mode 100644 index 06eb9402..00000000 --- a/Content/Library/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -language: csharp -sudo: required -dist: xenial - -dotnet: 3.0.100 -mono: - - latest # => "stable release" - - alpha - - beta - - weekly # => "latest commits" -os: - - linux - -script: - - ./build.sh - -matrix: - fast_finish: true - allow_failures: - - mono: alpha - - mono: beta - - mono: weekly diff --git a/Content/Library/README.md b/Content/Library/README.md index c173e8e8..6e08bc00 100644 --- a/Content/Library/README.md +++ b/Content/Library/README.md @@ -6,10 +6,10 @@ ## Builds -macOS/Linux | Windows ---- | --- -[![Travis Badge](https://travis-ci.org/MyGithubUsername/MyLib.1.svg?branch=master)](https://travis-ci.org/MyGithubUsername/MyLib.1) | [![Build status](https://ci.appveyor.com/api/projects/status/github/MyGithubUsername/MyLib.1?svg=true)](https://ci.appveyor.com/project/MyGithubUsername/MyLib.1) -[![Build History](https://buildstats.info/travisci/chart/MyGithubUsername/MyLib.1)](https://travis-ci.org/MyGithubUsername/MyLib.1/builds) | [![Build History](https://buildstats.info/appveyor/chart/MyGithubUsername/MyLib.1)](https://ci.appveyor.com/project/MyGithubUsername/MyLib.1) +GitHub Actions | +:---: | +[![GitHub Actions](https://github.com/MyGithubUsername/MyLib.1/workflows/Build%20master/badge.svg)](https://github.com/MyGithubUsername/MyLib.1/actions?query=branch%3Amaster) | +[![Build History](https://buildstats.info/github/chart/MyGithubUsername/MyLib.1)](https://github.com/MyGithubUsername/MyLib.1/actions?query=branch%3Amaster) | ## NuGet diff --git a/Content/Library/appveyor.yml b/Content/Library/appveyor.yml deleted file mode 100644 index 0d99b962..00000000 --- a/Content/Library/appveyor.yml +++ /dev/null @@ -1,14 +0,0 @@ -init: - - git config --global core.autocrlf input -build_script: - - cmd: build.cmd -test: off -version: 0.0.1.{build} -image: Visual Studio 2019 -install: - - cmd: choco install dotnetcore-sdk -y -artifacts: - - path: bin - name: bin - - path: dist - name: dist diff --git a/README.md b/README.md index 26bbdb23..52f702f5 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ This takes away the ambiguity that developers face when creating an OSS project. - `Release` build step commits latest [CHANGELOG.md](https://keepachangelog.com/en/1.0.0/) in the body and creates a [git tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging). - If you [reference a Pull Request](https://github.com/TheAngryByrd/MiniScaffold/blob/master/CHANGELOG.md#0230-beta001---2020-02-07) in the `CHANGELOG.md` it will [update that Pull Request](https://github.com/TheAngryByrd/MiniScaffold/pull/186#ref-commit-b343218) with the version it was released in. - `Release` build step publishes a [GitHub Release](https://help.github.com/en/articles/creating-releases) via the [CHANGELOG.md](https://keepachangelog.com/en/1.0.0/) and adds any artifacts (nuget/zip/targz/etc). -- [Continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) via [AppVeyor](https://www.appveyor.com/docs/) (Windows) and [TravisCI](https://docs.travis-ci.com/) (Linux) or [GitHub Actions](https://github.com/features/actions) +- [Continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) via [GitHub Actions](https://github.com/features/actions) ### For [Libraries](Content/Library/README.md) @@ -93,10 +93,11 @@ dotnet new mini-scaffold -n MyCoolNewApp --githubUsername MyGithubUsername -ou c ## Builds -macOS/Linux | Windows -:---: | :---: -[![Travis Badge](https://travis-ci.org/TheAngryByrd/MiniScaffold.svg?branch=master)](https://travis-ci.org/TheAngryByrd/MiniScaffold) | [![Build status](https://ci.appveyor.com/api/projects/status/rvwrjthtnew2digr/branch/master?svg=true)](https://ci.appveyor.com/project/TheAngryByrd/miniscaffold/branch/master) -[![Build History](https://buildstats.info/travisci/chart/TheAngryByrd/MiniScaffold)](https://travis-ci.org/TheAngryByrd/MiniScaffold/builds) | [![Build History](https://buildstats.info/appveyor/chart/TheAngryByrd/MiniScaffold)](https://ci.appveyor.com/project/TheAngryByrd/MiniScaffold) +GitHub Actions | +:---: | +[![GitHub Actions](https://github.com/TheAngryByrd/MiniScaffold/workflows/Build%20master/badge.svg)](https://github.com/TheAngryByrd/MiniScaffold/actions?query=branch%3Amaster) | +[![Build History](https://buildstats.info/github/chart/TheAngryByrd/MiniScaffold)](https://github.com/TheAngryByrd/MiniScaffold/actions?query=branch%3Amaster) | + ## NuGet diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 0d99b962..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,14 +0,0 @@ -init: - - git config --global core.autocrlf input -build_script: - - cmd: build.cmd -test: off -version: 0.0.1.{build} -image: Visual Studio 2019 -install: - - cmd: choco install dotnetcore-sdk -y -artifacts: - - path: bin - name: bin - - path: dist - name: dist diff --git a/docsSrc/How_Tos/Remove_Full_Framework.md b/docsSrc/How_Tos/Remove_Full_Framework.md index c6b4af49..114e8639 100644 --- a/docsSrc/How_Tos/Remove_Full_Framework.md +++ b/docsSrc/How_Tos/Remove_Full_Framework.md @@ -30,22 +30,4 @@ The resulting fsproj should look like: -- Remove the `mono` section from your `.travis.yml` file. - - Remove any mono keys from your `allow_failures` section. -The resulting `.travis.yml` should look like: - - [lang=yml] - language: csharp - sudo: required - dist: xenial - - dotnet: 3.1.100 - os: - - linux - - script: - - ./build.sh - - matrix: - fast_finish: true diff --git a/docsSrc/Reference/Library_Output.md b/docsSrc/Reference/Library_Output.md index c506c9ee..ef921267 100644 --- a/docsSrc/Reference/Library_Output.md +++ b/docsSrc/Reference/Library_Output.md @@ -24,7 +24,6 @@ When you do an initial scaffold, your folder will be filled with this set of fil |-- .gitignore |-- .paket | |-- Paket.Restore.targets - |-- .travis.yml |-- .vscode | |-- extensions.json | |-- settings.json @@ -33,7 +32,6 @@ When you do an initial scaffold, your folder will be filled with this set of fil |-- MyCoolNewLib.sln |-- README.md |-- CHANGELOG.md - |-- appveyor.yml |-- build.cmd |-- build.fsx |-- build.sh @@ -93,7 +91,6 @@ When you do an initial scaffold, your folder will be filled with this set of fil - `.github\` - Holds all [GitHub] related templates. - `.gitignore` - Good set of defaults for dotnet related repositories. - `.paket\Paket.Restore.targets` - Needed for paket to interact with MSBuild. See [paket](https://fsprojects.github.io/Paket/). -- `.travis.yml` - File containing default CI setup for [TravisCI](https://travis-ci.org/). Used for Linux/macOS builds. - `.vscode\extensions.json` - File containing all recommended VSCode plugins for this repository. - `.vscode\settings.json` - File containing all VSCode settings for this repository. - `Directory.Build.props` - Top level configuration for project files. See [Microsoft Docs](https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2019#directorybuildprops-and-directorybuildtargets) for more info. @@ -101,7 +98,6 @@ When you do an initial scaffold, your folder will be filled with this set of fil - `MyCoolNewLib.sln` - Solution file for your repository. See [Microsoft Docs](https://docs.microsoft.com/en-us/visualstudio/extensibility/internals/solution-dot-sln-file?view=vs-2019) for more info. - `README.md` - The text file that introduces and explains a project. - `CHANGELOG.md` - The text file containing versioning, date, and release notes. -- `appveyor.yml` File contained default CI setup for [AppVeyor](https://www.appveyor.com/). Used for Windows builds. - `build.cmd` - Windows specific entry point for building the repository. - `build.sh` - Nix specific entry point for building the repository. - `build.fsx` - Build script for building the repository. See [FAKE Docs](https://fake.build/) for more info. diff --git a/docsSrc/Tutorials/Getting_Started_With_Libraries.md b/docsSrc/Tutorials/Getting_Started_With_Libraries.md index 57db3290..5f31a8d2 100644 --- a/docsSrc/Tutorials/Getting_Started_With_Libraries.md +++ b/docsSrc/Tutorials/Getting_Started_With_Libraries.md @@ -34,7 +34,6 @@ This will generate a structure similar to this |-- MyCoolNewLib.sln |-- README.md |-- CHANGELOG.md - |-- appveyor.yml |-- build.cmd |-- build.fsx |-- build.sh diff --git a/docsSrc/index.md b/docsSrc/index.md index c7e3a367..2ffbcb86 100644 --- a/docsSrc/index.md +++ b/docsSrc/index.md @@ -40,7 +40,7 @@ This takes away the ambiguity that developers face when creating an OSS project. - `Release` build step commits latest [CHANGELOG.md](https://keepachangelog.com/en/1.0.0/) in the body and creates a [git tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging). - If you [reference a Pull Request](https://github.com/TheAngryByrd/MiniScaffold/blob/master/CHANGELOG.md#0230-beta001---2020-02-07) in the `CHANGELOG.md` it will [update that Pull Request](https://github.com/TheAngryByrd/MiniScaffold/pull/186#ref-commit-b343218) with the version it was released in. - `Release` build step publishes a [GitHub Release](https://help.github.com/en/articles/creating-releases) via the [CHANGELOG.md](https://keepachangelog.com/en/1.0.0/) and adds any artifacts (nuget/zip/targz/etc). -- [Continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) via [AppVeyor](https://www.appveyor.com/docs/) (Windows) and [TravisCI](https://docs.travis-ci.com/) (Linux) or [GitHub Actions](https://github.com/features/actions) +- [Continuous integration](https://en.wikipedia.org/wiki/Continuous_integration) via [GitHub Actions](https://github.com/features/actions) ### For [Libraries](Content/Library/README.md)