mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-20 05:52:24 +00:00
Update release.yml
This commit is contained in:
parent
1d467f6d3f
commit
4ca7b2017a
1 changed files with 0 additions and 17 deletions
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
|
@ -25,23 +25,6 @@ jobs:
|
|||
|
||||
- name: Clean Go module cache
|
||||
run: go clean -modcache
|
||||
|
||||
- name: Force update Go modules
|
||||
run: |
|
||||
go mod init || true
|
||||
go mod tidy
|
||||
go mod download
|
||||
|
||||
- name: Commit go.sum if missing
|
||||
run: |
|
||||
if [ ! -f go.sum ]; then
|
||||
go mod tidy
|
||||
git config --global user.email "github-actions@github.com"
|
||||
git config --global user.name "GitHub Actions"
|
||||
git add go.sum
|
||||
git commit -m "Add missing go.sum"
|
||||
git push origin main || echo "No changes to push"
|
||||
fi
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
|
|
Loading…
Reference in a new issue