This commit is contained in:
@@ -12,7 +12,7 @@ jobs:
|
||||
image: golang:1.26
|
||||
env:
|
||||
GOPRIVATE: forgejo.riotpiao.com
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REGISTRY_PAT: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- name: install node + git (required by JS-based actions)
|
||||
run: apt-get update && apt-get install -y --no-install-recommends nodejs ca-certificates git
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
|
||||
- name: configure git auth for private module fetch
|
||||
run: |
|
||||
git config --global url."https://oauth2:${GITHUB_TOKEN}@forgejo.riotpiao.com".insteadOf "https://forgejo.riotpiao.com"
|
||||
git config --global url."https://oauth2:${REGISTRY_PAT}@forgejo.riotpiao.com".insteadOf "https://forgejo.riotpiao.com"
|
||||
|
||||
- name: build cross-platform binaries
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user