Skip to content

Commit 4938600

Browse files
committed
(#517) Switch to GtiHub Actions as preferred CI
This will bring consistency to how other projects under GitTools Organization are built, and will also allow us to share secrets at the Organization level.
1 parent f6ac7c7 commit 4938600

File tree

3 files changed

+18
-44
lines changed

3 files changed

+18
-44
lines changed

.appveyor.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,23 @@ jobs:
1919
matrix:
2020
os: [ windows-2022 ]
2121

22+
env:
23+
GITTOOLS_GITHUB_TOKEN: ${{ secrets.GITOOLS_GITHUB_TOKEN }}
24+
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
25+
NUGET_SOURCE: https://api.nuget.org/v3/index.json
26+
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
27+
CHOCOLATEY_SOURCE: https://push.chocolatey.org/
28+
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
29+
TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }}
30+
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
31+
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
32+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
33+
WYAM_ACCESS_TOKEN: ${{ secrets.WYAM_ACCESS_TOKEN }}
34+
WYAM_DEPLOY_BRANCH: gh-pages
35+
WYAM_DEPLOY_REMOTE: https://github.com/GitTools/GitReleaseManager
36+
CODECOV_REPO_TOKEN: ${{ secrets.CODECOV_REPO_TOKEN }}
37+
GPR_USER: gittools-bot
38+
GPR_PASSWORD: ${{ secrets.GPR_PASSWORD }}
2239
steps:
2340
- name: Checkout the repository
2441
uses: actions/checkout@v2

recipe.cake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ BuildParameters.SetParameters(context: Context,
1616
shouldRunIntegrationTests: true,
1717
integrationTestScriptPath: "./tests/integration/tests.cake",
1818
twitterMessage: standardNotificationMessage,
19+
preferredBuildProviderType: BuildProviderType.GitHubActions,
1920
gitterMessage: "@/all " + standardNotificationMessage);
2021

2122
BuildParameters.PackageSources.Add(new PackageSourceData(Context, "GPR", "https://nuget.pkg.github.com/GitTools/index.json", FeedType.NuGet, false));

0 commit comments

Comments
 (0)