Skip to content

Commit b6c6a6c

Browse files
committed
GitHub Actions
1 parent 8205bc9 commit b6c6a6c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/dotnet-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@ jobs:
2424
run: dotnet restore ./src/SteamWebAPI2.sln
2525
- name: Build
2626
run: dotnet build ./src/SteamWebAPI2.sln --no-restore
27+
- name: App Settings Variable Substitution
28+
uses: microsoft/variable-substitution@v1
29+
with:
30+
files: ./src/Steam.UnitTests/appsettings.json
2731
- name: Test
2832
run: dotnet test ./src --no-build --verbosity normal

.github/workflows/dotnet-publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ name: Build, Test, and Publish .NET
55

66
on:
77
push:
8-
branches: [ "master" ]
98
tags: [ "*" ]
109

1110
jobs:
@@ -22,9 +21,7 @@ jobs:
2221
- name: Restore dependencies
2322
run: dotnet restore ./src/SteamWebAPI2.sln
2423
- name: Build
25-
run: dotnet build ./src/SteamWebAPI2.sln -c Release --no-restore
26-
- name: Test
27-
run: dotnet test ./src -c Release --no-build --verbosity normal
24+
run: dotnet build ./src/SteamWebAPI2.sln -c Release --no-restore
2825
- name: Pack
2926
run: dotnet pack ./src/SteamWebAPI2/SteamWebAPI2.csproj -c Release --no-build --output .
3027
- name: Publish

0 commit comments

Comments
 (0)