Skip to content

Commit

Permalink
Migrate to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmy Byrd committed Jun 26, 2020
1 parent 4ad9ff7 commit 5f1d181
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 149 deletions.
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

22 changes: 0 additions & 22 deletions Content/Console/.travis.yml

This file was deleted.

17 changes: 9 additions & 8 deletions Content/Console/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)


---
Expand Down
14 changes: 0 additions & 14 deletions Content/Console/appveyor.yml

This file was deleted.

22 changes: 0 additions & 22 deletions Content/Library/.travis.yml

This file was deleted.

8 changes: 4 additions & 4 deletions Content/Library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
14 changes: 0 additions & 14 deletions Content/Library/appveyor.yml

This file was deleted.

11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down
14 changes: 0 additions & 14 deletions appveyor.yml

This file was deleted.

18 changes: 0 additions & 18 deletions docsSrc/How_Tos/Remove_Full_Framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,4 @@ The resulting fsproj should look like:
<Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>

- 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
4 changes: 0 additions & 4 deletions docsSrc/Reference/Library_Output.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -93,15 +91,13 @@ 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.
- `LICENSE.md` - Your repositories license. Starts with MIT. [Choose a license](https://choosealicense.com/) if you're looking for more choices.
- `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.
Expand Down
1 change: 0 additions & 1 deletion docsSrc/Tutorials/Getting_Started_With_Libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docsSrc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
5 changes: 5 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"sdk": {
// "version": "3.1.100"
}
}

0 comments on commit 5f1d181

Please sign in to comment.