mirror of
https://github.com/SagerNet/sing-geosite.git
synced 2026-06-24 13:54:18 +08:00
Fix access token expired
This commit is contained in:
parent
50c4bf766c
commit
9b8a098c22
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@ -24,10 +24,10 @@ jobs:
|
||||
id: build
|
||||
env:
|
||||
GOPRIVATE: github.com/sagernet
|
||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NO_SKIP: true
|
||||
run: |
|
||||
git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github.com".insteadOf "https://github.com"
|
||||
git config --global url."https://${{ secrets.GITHUB_TOKEN }}@github.com".insteadOf "https://github.com"
|
||||
go run -v .
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
|
||||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -24,9 +24,9 @@ jobs:
|
||||
id: build
|
||||
env:
|
||||
GOPRIVATE: github.com/sagernet
|
||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
git config --global url."https://${{ secrets.ACCESS_TOKEN }}@github.com".insteadOf "https://github.com"
|
||||
git config --global url."https://${{ secrets.GITHUB_TOKEN }}@github.com".insteadOf "https://github.com"
|
||||
go run -v .
|
||||
- name: Generate sha256 hash
|
||||
if: steps.build.outputs.skip != 'true'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user