Skip to content

Commit 936589e

Browse files
authored
Merge pull request #1058 from praeclarum/nuget-build-version
Add build number to nuget version
2 parents 46a8eae + 2177a20 commit 936589e

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)