Skip to content

Commit 89e9bb6

Browse files
committed
(#2) setup everything for builds/releases
1 parent 87edc4f commit 89e9bb6

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
os: [ windows-2019, ubuntu-18.04, macos-10.15 ]
22+
os: [ windows-2019 ]
2323

2424
env:
25-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
25+
#COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
2626
GITHUB_PAT: ${{ secrets.GH_TOKEN }}
2727
GPR_PASSWORD: ${{ secrets.GPR_PASSWORD }}
28-
GPR_SOURCE: ${{ secrets.GPR_SOURCE }}
2928
GPR_USER: ${{ secrets.GPR_USER }}
29+
GPR_SOURCE: "https://nuget.pkg.github.com/nils-org/index.json"
3030
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
3131
NUGET_SOURCE: "https://api.nuget.org/v3/index.json"
3232
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}

recipe.cake

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#load nuget:?package=Cake.Recipe&version=2.2.1
22

3+
var standardNotificationMessage = "Version {0} of {1} has just been released, it will be available here https://www.nuget.org/packages/{1}, once package indexing is complete.";
4+
35
Environment.SetVariableNames();
46

57
BuildParameters.SetParameters(
@@ -9,7 +11,12 @@ BuildParameters.SetParameters(
911
title: "JavaVersionSwitcher",
1012
masterBranchName: "main",
1113
repositoryOwner: "nils-org",
12-
shouldRunDotNetCorePack: true);
14+
shouldRunDotNetCorePack: true,
15+
preferredBuildProviderType: BuildProviderType.GitHubActions,
16+
twitterMessage: standardNotificationMessage,
17+
shouldRunCoveralls: false, // no tests, currently
18+
shouldRunCodecov: false,
19+
shouldRunIntegrationTests: false);
1320

1421
BuildParameters.PrintParameters(Context);
1522

0 commit comments

Comments
 (0)