mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-03-23 16:43:59 +03:00
only go mod tidy in update-dependencies.yaml
This commit is contained in:
parent
c3da619dcf
commit
2d1011694c
10
.github/workflows/update-dependencies.yaml
vendored
10
.github/workflows/update-dependencies.yaml
vendored
@ -5,12 +5,6 @@ on:
|
||||
- core-updated
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
# go dependencies that should be fixed to certain version
|
||||
PACKAGES_DO_NOT_UPGRADE: >-
|
||||
github.com/Dreamacro/clash@v1.7.1
|
||||
github.com/Kr328/tun2socket@v0.0.0-20220414050025-d07c78d06d34
|
||||
|
||||
jobs:
|
||||
update-dependencies:
|
||||
runs-on: ubuntu-latest
|
||||
@ -48,12 +42,12 @@ jobs:
|
||||
- name: Update Foss Gomod
|
||||
run: |
|
||||
cd ${{ github.workspace }}/core/src/foss/golang/
|
||||
go get -u ${{ env.PACKAGES_DO_NOT_UPGRADE }}
|
||||
go mod tidy
|
||||
|
||||
- name: Update Main Gomod
|
||||
run: |
|
||||
cd ${{ github.workspace }}/core/src/main/golang/native/
|
||||
go get -u -d ${{ env.PACKAGES_DO_NOT_UPGRADE }}
|
||||
go mod tidy
|
||||
|
||||
- name: Create Pull Request
|
||||
id: cpr
|
||||
|
Loading…
x
Reference in New Issue
Block a user