Fix and update

This commit is contained in:
世界
2022-10-26 19:36:12 +08:00
parent 50c4bf766c
commit 4a32d56c17
5 changed files with 9 additions and 17 deletions

View File

@@ -23,11 +23,8 @@ jobs:
- name: Build geosite
id: build
env:
GOPRIVATE: github.com/sagernet
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
NO_SKIP: true
run: |
git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github.com".insteadOf "https://github.com"
go run -v .
- name: Upload artifacts
uses: actions/upload-artifact@v2

View File

@@ -22,11 +22,7 @@ jobs:
go-version: ${{ steps.version.outputs.go_version }}
- name: Build geosite
id: build
env:
GOPRIVATE: github.com/sagernet
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: |
git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github.com".insteadOf "https://github.com"
go run -v .
- name: Generate sha256 hash
if: steps.build.outputs.skip != 'true'