Skip to content

Commit

Permalink
use GO111MODULE in go mod and vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffy-mathew committed Apr 8, 2024
1 parent 9203978 commit 964ad08
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ jobs:
echo '#!/bin/sh
ci/bin/unlock-agent.sh
mkdir -p /go/src
go mod tidy
go mod vendor
GO111MODULE=on go mod tidy && go mod vendor
cp -r -f vendor/* /go/src
mkdir -p /go/src/github.com/TykTechnologies/tyk
cp -r ./* /go/src/github.com/TykTechnologies/tyk
Expand All @@ -106,7 +105,7 @@ jobs:
-e GPG_FINGERPRINT=12B5D62C28F57592D1575BD51ED14C59E37DAC20 \
-e PKG_SIGNING_KEY="$PKG_SIGNING_KEY" \
-e PACKAGECLOUD_TOKEN=$PACKAGECLOUD_TOKEN \
-v /go/src:/go/src \
-v ${{github.workspace}}:/go/src/github.com/TykTechnologies/tyk \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ~/.docker/config.json:/root/.docker/config.json \
-v /tmp/build.sh:/tmp/build.sh \
Expand Down

0 comments on commit 964ad08

Please sign in to comment.