Skip to content

Commit 2177a20

Browse files
authored
Add build number to nuget version
1 parent 46a8eae commit 2177a20

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ jobs:
1111

1212
- uses: actions/checkout@v1
1313

14+
- name: Update Versions
15+
env:
16+
VERSION_BUILD: ${{github.run_number}}
17+
run: |
18+
sed -i bak "s:</VersionPrefix>:.$VERSION_BUILD</VersionPrefix>:g" Directory.Build.props
19+
1420
- name: Restore NuGets
1521
run: nuget restore SQLite.sln
1622

0 commit comments

Comments
 (0)