Skip to content

Commit dec26f1

Browse files
committed
#2254 New COVERALLS_REPO_TOKEN env var
1 parent 6a4a386 commit dec26f1

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

.github/workflows/develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,4 @@ jobs:
133133
with:
134134
target: Build
135135
env:
136-
OCELOT_COVERALLS_TOKEN: ${{ secrets.OCELOT_COVERALLS_TOKEN }}
136+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ jobs:
7878
with:
7979
target: PullRequest
8080
env:
81-
OCELOT_COVERALLS_TOKEN: ${{ secrets.OCELOT_COVERALLS_TOKEN }}
81+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ jobs:
140140
uses: actions/setup-dotnet@v3
141141
with:
142142
dotnet-version: 8.0.x
143-
# - name: Setup .NET
144-
# uses: actions/setup-dotnet@v3
145-
# with:
146-
# dotnet-version: 8.0.x, 9.0.x
147143
- name: Check .NET 9
148144
id: check-dotnet9
149145
run: |
@@ -176,4 +172,4 @@ jobs:
176172
TEMP_KEY: ${{ secrets.TEMP_KEY }}
177173
OCELOT_GITHUB_API_KEY: ${{ secrets.OCELOT_GITHUB_API_KEY }}
178174
OCELOT_NUGET_API_KEY_2025: ${{ secrets.OCELOT_NUGET_API_KEY_2025 }}
179-
OCELOT_COVERALLS_TOKEN: ${{ secrets.OCELOT_COVERALLS_TOKEN }}
175+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

build.cake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,10 +520,10 @@ Task("UnitTests")
520520
Information("#=============================");
521521
if (IsRunningInCICD() && IsMainOrDevelop())
522522
{
523-
var repoToken = EnvironmentVariable("OCELOT_COVERALLS_TOKEN");
523+
var repoToken = EnvironmentVariable("COVERALLS_REPO_TOKEN");
524524
if (string.IsNullOrEmpty(repoToken))
525525
{
526-
var err = "# Coveralls repo token was not found! Set environment variable: OCELOT_COVERALLS_TOKEN !";
526+
var err = "# Coveralls repo token was not found! Set environment variable: COVERALLS_REPO_TOKEN !";
527527
Warning(err);
528528
throw new Exception(err);
529529
}

0 commit comments

Comments
 (0)