Skip to content

Commit 10e008c

Browse files
authored
Update build.yml (#55)
1 parent 6317846 commit 10e008c

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @NewDayTechnology/Principals

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v1
15+
uses: actions/checkout@v3
1616
- name: Setup .NET
17-
uses: actions/setup-dotnet@v1
17+
uses: actions/setup-dotnet@v3
1818
with:
1919
dotnet-version: 8.0.x
2020
- name: Format
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v3
2727
- name: Setup .NET
28-
uses: actions/setup-dotnet@v2
28+
uses: actions/setup-dotnet@v3
2929
with:
3030
dotnet-version: 8.0.x
3131
- name: Build
@@ -41,9 +41,9 @@ jobs:
4141
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
4242
steps:
4343
- name: Checkout
44-
uses: actions/checkout@v1
44+
uses: actions/checkout@v3
4545
- name: Setup .NET
46-
uses: actions/setup-dotnet@v1
46+
uses: actions/setup-dotnet@v3
4747
with:
4848
dotnet-version: 8.0.x
4949
- name: Determine version
@@ -61,12 +61,12 @@ jobs:
6161
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
6262
steps:
6363
- name: Setup .NET
64-
uses: actions/setup-dotnet@v1
64+
uses: actions/setup-dotnet@v3
6565
with:
6666
dotnet-version: 8.0.x
67-
- uses: actions/download-artifact@v1
67+
- uses: actions/download-artifact@v3
6868
with:
6969
name: artifacts
7070
path: ./artifacts
7171
- name: Publish packages
72-
run: dotnet nuget push ./artifacts/**/*.nupkg --source https://nuget.pkg.github.com/NewDayTechnology/index.json --api-key ${{secrets.GITHUB_TOKEN}} --skip-duplicate
72+
run: dotnet nuget push ./artifacts/**/*.nupkg --source nuget.org --api-key ${{secrets.NUGET_TOKEN}} --skip-duplicate

CODEOWNERS

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

sample/SampleFunctionApp/SampleFunctionApp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<OutputType>Exe</OutputType>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
8+
<IsPackable>false</IsPackable>
89
</PropertyGroup>
910
<ItemGroup>
1011
<PackageReference Include="Microsoft.Azure.Functions.Worker" Version="1.19.0" />

0 commit comments

Comments
 (0)