.github/workflows: set CGO_ENABLED=1 and pre-get sqlite3

This commit is contained in:
c9s 2021-12-30 15:58:39 +08:00
parent d6a17aaba4
commit fb9ece2341

View File

@ -26,9 +26,12 @@ jobs:
node-version: "16" node-version: "16"
- name: Build - name: Build
run: | run: |
go get github.com/mattn/go-sqlite3
npm install --global yarn npm install --global yarn
make dist VERSION=${{ steps.get_version.outputs.VERSION }} make dist VERSION=${{ steps.get_version.outputs.VERSION }}
shell: bash shell: bash
env:
CGO_ENABLED: 1
- name: Create Release - name: Create Release
id: create_release id: create_release
uses: actions/create-release@v1 uses: actions/create-release@v1