Skip to content

Commit 1c6280d

Browse files
committed
Fixed build
1 parent e2ae7c8 commit 1c6280d

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

.github/workflows/build.yml

+6-9
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
- name: Setup .NET Core
1313
uses: actions/setup-dotnet@v1
1414
with:
15-
dotnet-version: 3.1.302
15+
dotnet-version: 5.0.x
1616
- name: Build Reason
1717
run: "echo ref: ${{github.ref}} event: ${{github.event_name}}"
1818
- name: Build Version
1919
run: |
20-
dotnet tool install --global minver-cli --version 2.3.0
20+
dotnet tool install --global minver-cli --version 2.5.0
2121
version=$(minver --tag-prefix v)
22-
echo "::set-env name=MINVERVERSIONOVERRIDE::$version"
22+
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2323
- name: Build
2424
run: dotnet build --configuration Release
2525
- name: Start Services
@@ -29,19 +29,16 @@ jobs:
2929
- name: Package
3030
if: github.event_name != 'pull_request'
3131
run: dotnet pack --configuration Release --no-build
32-
- name: Install GitHub Package Tool
33-
if: github.event_name != 'pull_request'
34-
run: dotnet tool install gpr -g
3532
- name: Publish CI Packages
3633
if: github.event_name != 'pull_request'
3734
run: |
3835
for package in $(find -name "*.nupkg" | grep "minver" -v); do
3936
echo "${0##*/}": Pushing $package...
4037
4138
# GitHub
42-
gpr push $package -k ${{ secrets.GITHUB_TOKEN }} || true
43-
44-
# feedz (remove once GPR supports anonymous)
39+
dotnet nuget push $package --source https://nuget.pkg.github.com/foundatiofx/index.json --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate
40+
41+
# Feedz (remove once GitHub supports anonymous access)
4542
dotnet nuget push $package --source https://f.feedz.io/foundatio/foundatio/nuget --api-key ${{ secrets.FEEDZ_KEY }} --skip-duplicate
4643
done
4744
- name: Publish Release Packages

Exceptionless.DateTimeExtensions.sln

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 15
4-
VisualStudioVersion = 15.0.26730.3
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.31424.327
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8F995DD3-2383-4DCF-AE0B-0583C47A7058}"
77
ProjectSection(SolutionItems) = preProject
8-
appveyor.yml = appveyor.yml
8+
.github\workflows\build.yml = .github\workflows\build.yml
9+
build\common.props = build\common.props
910
README.md = README.md
1011
EndProjectSection
1112
EndProject

0 commit comments

Comments
 (0)