mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-09-26 20:01:19 +08:00
fix version badge
This commit is contained in:
2
.github/workflows/badge-sqlite-version.yml
vendored
2
.github/workflows/badge-sqlite-version.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
||||
key: ${{ runner.os }}-${{ hashFiles('go.mod') }}
|
||||
|
||||
- name: request sqlite_version()
|
||||
run: echo "sqlite_version=$(go test . -run '^TestSQLiteVersion$' -v | grep sqlite_version | tr -s ' ' | cut -d' ' -f3)" >> $GITHUB_ENV
|
||||
run: echo "sqlite_version=$(go test . -run '^TestSQLiteVersion$' -v | grep sqlite_version | tr -s ' ' | cut -d' ' -f3,4)" >> $GITHUB_ENV
|
||||
|
||||
- name: Make version badge
|
||||
uses: schneegans/dynamic-badges-action@v1.1.0
|
||||
|
@@ -1,4 +1,4 @@
|
||||
[](https://github.com/glebarez/go-sqlite/actions/workflows/tests.yml)<br>
|
||||
[](https://github.com/glebarez/go-sqlite/actions/workflows/tests.yml)
|
||||

|
||||
|
||||
# go-sqlite
|
||||
|
Reference in New Issue
Block a user