Skip to content

Commit

Permalink
fix release workflow to use go module
Browse files Browse the repository at this point in the history
  • Loading branch information
akiyosi committed Feb 14, 2024
1 parent f5dcc09 commit 39730d2
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 308 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -364,30 +364,7 @@ jobs:
run: |
export PATH=/c/hostedtoolcache/windows/go/${{ matrix.go-version }}/x64/bin/:$PATH
cd /c/${{ github.repository }}
go get -v github.com/akiyosi/qt
go get github.com/akiyosi/qt/internal/[email protected]
go get github.com/akiyosi/qt/internal/binding/files/docs/5.12.0
go get github.com/akiyosi/qt/internal/binding/files/docs/5.13.0
go get github.com/akiyosi/qt/internal/cmd/[email protected]
go install -v -tags=no_env github.com/akiyosi/qt/cmd/...
go mod vendor
git clone https://github.com/akiyosi/env_windows_amd64_513.git vendor/github.com/akiyosi/env_windows_amd64_513
- uses: actions/cache@v2
id: cache-qt-bindings-windows-build
with:
path: |
/c/${{ github.repository }}\vendor\github.com\akiyosi\qt\*
!/c/${{ github.repository }}\vendor\github.com\akiyosi\qt\.git
key: cache-qtbindings-windows-build-${{ env.cache-version }}

- name: Generate Qt bindings
if: ${{ steps.cache-qt-bindings-windows-build.outputs.cache-hit != 'true' }}
shell: msys2 {0}
run: |
export PATH=/c/hostedtoolcache/windows/go/${{ matrix.go-version }}/x64/bin/:$PATH
cd /c/${{ github.repository }}
$(go env GOPATH)/bin/qtsetup -test=false
make qt_bindings
- name: Get dependencies
shell: msys2 {0}
Expand Down Expand Up @@ -416,7 +393,7 @@ jobs:
run: |
cd /c/${{ github.repository }}/cmd/goneovim/deploy
mv windows goneovim-windows
zip goneovim-windows -r goneovim-windows
zip -r goneovim-windows.zip goneovim-windows
- name: Upload for windows
uses: actions/upload-artifact@v1
Expand Down
Loading

0 comments on commit 39730d2

Please sign in to comment.