diff options
| author | Tong Sun <[email protected]> | 2023-05-02 10:34:10 -0400 |
|---|---|---|
| committer | Tong Sun <[email protected]> | 2023-05-02 10:34:10 -0400 |
| commit | d0700554aa737d89fca5587273c84912e53bf6fd (patch) | |
| tree | 8d966c34bcf561c1df4753e839e23da73fc5a7cc /.github/workflows | |
| parent | Merge pull request #5 from VPanteleev-S7/patch-1 (diff) | |
| download | html2md-d0700554aa737d89fca5587273c84912e53bf6fd.tar.xz html2md-d0700554aa737d89fca5587273c84912e53bf6fd.zip | |
- [!] fix CI/CD build
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/go-release-build.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/go-release-build.yml b/.github/workflows/go-release-build.yml index cfedab9..8567413 100644 --- a/.github/workflows/go-release-build.yml +++ b/.github/workflows/go-release-build.yml @@ -7,6 +7,9 @@ on: tags: - 'v*' +env: + GO111MODULE: off + jobs: build: runs-on: ubuntu-latest @@ -15,7 +18,7 @@ jobs: name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.15 + go-version: 1.19 - name: Install Cloudsmith CLI @@ -33,9 +36,9 @@ jobs: name: Tests run: | export GOPATH=/home/runner/go - mkdir -p $GOPATH/src/github.com/$GITHUB_ACTOR - mv $GITHUB_WORKSPACE $GOPATH/src/github.com/$GITHUB_ACTOR - ln -s $GOPATH/src/github.com/$GITHUB_REPOSITORY $GITHUB_WORKSPACE + mkdir -vp $GOPATH/src/github.com/$GITHUB_ACTOR + mv -v $GITHUB_WORKSPACE $GOPATH/src/github.com/$GITHUB_ACTOR + ln -vs $GOPATH/src/github.com/$GITHUB_REPOSITORY $GITHUB_WORKSPACE # go mod tidy go get -v ./... go test -v ./... |