mirror of
https://github.com/safing/portmaster
synced 2025-09-02 10:39:22 +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: |
|
run: |
|
||||||
if [[ $BRANCHES != *"master"* ]]; then
|
if [[ $BRANCHES != *"master"* ]]; then
|
||||||
echo "::debug::updating development dependencies"
|
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/portbase@develop
|
||||||
go get -u -v github.com/safing/spn@develop
|
go get -u -v github.com/safing/spn@develop
|
||||||
else
|
else
|
||||||
|
@ -92,8 +94,13 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [[ $BRANCHES != *"master"* ]]; then
|
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/portbase@develop
|
||||||
go get -u -v github.com/safing/spn@develop
|
go get -u -v github.com/safing/spn@develop
|
||||||
|
else
|
||||||
|
echo "::debug::not updating development dependencies; master branch"
|
||||||
fi
|
fi
|
||||||
env:
|
env:
|
||||||
BRANCHES: "${{ steps.getref.outputs.branch }} ${{ steps.getref.outputs.branch_head }}"
|
BRANCHES: "${{ steps.getref.outputs.branch }} ${{ steps.getref.outputs.branch_head }}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue