mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Merge branch 'gomod' into develop
This commit is contained in:
commit
03785911d0
1 changed files with 7 additions and 0 deletions
7
.github/workflows/go.yml
vendored
7
.github/workflows/go.yml
vendored
|
@ -34,6 +34,8 @@ jobs:
|
|||
run: |
|
||||
if [[ $BRANCHES != *"master"* ]]; then
|
||||
echo "::debug::updating development dependencies"
|
||||
export GOPROXY=direct
|
||||
export GOSUMDB=off
|
||||
go get -u -v github.com/safing/portbase@develop
|
||||
go get -u -v github.com/safing/spn@develop
|
||||
else
|
||||
|
@ -92,8 +94,13 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
if [[ $BRANCHES != *"master"* ]]; then
|
||||
echo "::debug::updating development dependencies"
|
||||
export GOPROXY=direct
|
||||
export GOSUMDB=off
|
||||
go get -u -v github.com/safing/portbase@develop
|
||||
go get -u -v github.com/safing/spn@develop
|
||||
else
|
||||
echo "::debug::not updating development dependencies; master branch"
|
||||
fi
|
||||
env:
|
||||
BRANCHES: "${{ steps.getref.outputs.branch }} ${{ steps.getref.outputs.branch_head }}"
|
||||
|
|
Loading…
Add table
Reference in a new issue