Skip to content

Commit 1632b27

Browse files
committed
Update dependencies
1 parent 52a374a commit 1632b27

File tree

2 files changed

+26
-11
lines changed

2 files changed

+26
-11
lines changed

.github/workflows/release-dotnet-nuget.yml

+24-9
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@ jobs:
3232
steps:
3333
- name: Checkout
3434
uses: actions/checkout@v2
35-
- name: Get version
36-
id: get_version
37-
run: |
38-
tag_name=${{ github.event.release.tag_name }}
39-
echo ::set-output name=VERSION::${tag_name:1}
40-
shell: bash
4135
- name: Setup nuget
4236
uses: nuget/setup-nuget@v1
4337
- name: Update nuget source
@@ -50,8 +44,29 @@ jobs:
5044
- name: Restore packages
5145
run: nuget restore
5246
- name: Build with dotnet
53-
run: dotnet build --configuration Release --no-restore -p:Version=${{ steps.get_version.outputs.VERSION }}
47+
run: dotnet build --configuration Release --no-restore -p:Version=${{ github.event.release.tag_name }}
5448
- name: Pack nuget packages
55-
run: dotnet pack --configuration Release --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:PackageVersion=${{ steps.get_version.outputs.VERSION }}
49+
run: dotnet pack --configuration Release --no-build --output nupkgs -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg -p:PackageVersion=${{ github.event.release.tag_name }}
5650
- name: Publish nuget packages
57-
run: dotnet nuget push **/*.nupkg --source "github"
51+
run: dotnet nuget push **/*.nupkg --source "github"
52+
- name: Upload artifacts
53+
uses: actions/upload-artifact@v1
54+
with:
55+
name: nupkgs
56+
path: nupkgs
57+
58+
release:
59+
needs: publish
60+
runs-on: ubuntu-latest
61+
steps:
62+
- name: Download artifacts
63+
uses: actions/download-artifact@v1
64+
with:
65+
name: nupkgs
66+
path: nupkgs
67+
- name: Release artifacts
68+
uses: skx/github-action-publish-binaries@master
69+
env:
70+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71+
with:
72+
args: 'nupkgs/*'

src/PrismaDB.QueryAST/PrismaDB.QueryAST.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1010
</PackageReference>
1111
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
12-
<PackageReference Include="PrismaDB.Commons" Version="0.2.1" />
13-
<PackageReference Include="PrismaDB.Result" Version="0.2.2" />
12+
<PackageReference Include="PrismaDB.Commons" Version="0.2.2" />
13+
<PackageReference Include="PrismaDB.Result" Version="0.2.3" />
1414
</ItemGroup>
1515
</Project>

0 commit comments

Comments
 (0)