Skip to content

Commit 0683f9b

Browse files
Update build
1 parent 64b5433 commit 0683f9b

File tree

10 files changed

+34
-14
lines changed

10 files changed

+34
-14
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"gitversion.tool": {
6-
"version": "5.8.2",
6+
"version": "5.12.0",
77
"commands": [
88
"dotnet-gitversion"
99
]

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ updates:
1010
schedule:
1111
interval: "weekly"
1212

13+
- package-ecosystem: "nuget"
14+
directory: "/.config"
15+
schedule:
16+
interval: "weekly"
17+
1318
- package-ecosystem: "nuget"
1419
directory: "/src/Prefab/templates/prefab"
1520
schedule:
@@ -19,3 +24,8 @@ updates:
1924
directory: "/src/Prefab/templates/prefab/build"
2025
schedule:
2126
interval: "weekly"
27+
28+
- package-ecosystem: "nuget"
29+
directory: "/src/Prefab/templates/prefab/.config"
30+
schedule:
31+
interval: "weekly"

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
2020
- name: Fetch all tags and branches
2121
run: git fetch --prune --unshallow
2222
- name: Build
2323
run: ./build.sh
2424
- name: Upload artifacts
25-
uses: actions/upload-artifact@v2
25+
uses: actions/upload-artifact@v3
2626
with:
2727
path: artifacts/*.nupkg

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
- name: Fetch all tags and branches
1919
run: git fetch --prune --unshallow
2020
- name: Build
2121
run: ./build.sh
2222
- name: Upload artifacts
23-
uses: actions/upload-artifact@v2
23+
uses: actions/upload-artifact@v3
2424
with:
2525
path: artifacts/*.nupkg
2626
- uses: NBTX/upload-release-assets@v1

src/Prefab/templates/prefab/.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"isRoot": true,
44
"tools": {
55
"gitversion.tool": {
6-
"version": "5.8.2",
6+
"version": "5.12.0",
77
"commands": [
88
"dotnet-gitversion"
99
]

src/Prefab/templates/prefab/.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "daily"
7+
8+
- package-ecosystem: "nuget"
9+
directory: "/build"
10+
schedule:
11+
interval: "weekly"
12+
13+
- package-ecosystem: "nuget"
14+
directory: "/.config"
15+
schedule:
16+
interval: "weekly"

src/Prefab/templates/prefab/.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v3
2020
- name: Fetch all tags and branches
2121
run: git fetch --prune --unshallow
2222
- name: Build
23-
run: ./build.ps1
23+
run: ./build.sh
2424
- name: Upload artifacts
25-
uses: actions/upload-artifact@v2
25+
uses: actions/upload-artifact@v3
2626
with:
2727
path: artifacts/*.nupkg

src/Prefab/templates/prefab/.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
- name: Fetch all tags and branches
1919
run: git fetch --prune --unshallow
2020
- name: Deploy
2121
env:
2222
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
23-
run: ./build.ps1 publish
23+
run: ./build.sh publish
2424
- name: Upload artifacts
25-
uses: actions/upload-artifact@v2
25+
uses: actions/upload-artifact@v3
2626
with:
2727
path: artifacts/*.nupkg

src/Prefab/templates/prefab/build/build.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
Target("package", DependsOn("build", "test"), () =>
4242
{
43-
Run("dotnet", $"pack --configuration Release --no-restore --no-build --property PackageOutputPath=../../artifacts --property Version={version.SemVer}");
43+
Run("dotnet", $"pack --configuration Release --no-restore --no-build --output artifacts --property Version={version.SemVer}");
4444
});
4545

4646
Target("publish", DependsOn("package"), () =>

src/Prefab/templates/prefab/src/Prefab.Tests/Prefab.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" />
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.0" />
1212
<PackageReference Include="xunit" Version="2.4.2" />
1313
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
1414
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)