File tree Expand file tree Collapse file tree 3 files changed +0
-29
lines changed
Expand file tree Collapse file tree 3 files changed +0
-29
lines changed Original file line number Diff line number Diff line change 2525 steps :
2626 - name : Checkout
272728- # TODO: remove when this repo is made public
29- - name : Configure Git for Private Modules
30- run : |
31- git config --global url."https://oauth2:${GITHUB_TOKEN}@github.com".insteadOf "https://github.com"
32- # TODO: remove end
3328 - name : Unshallow clone for tags
3429 run : git fetch --prune --unshallow --tags
3530 - name : Install Go Tools
Original file line number Diff line number Diff line change 3030 name : Publish provider
3131 runs-on : ubuntu-latest
3232 steps :
33- # TODO: remove when this repo is made public
34- - name : Configure Git for Private Modules
35- run : |
36- git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com"
37- # Sets GOPRIVATE and GONOSUMDB in order to use the git authentication for go mod.
38- echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
39- echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
40- # TODO: remove end
4133 - name : Checkout Repo
4234 uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # tag=v4.2.2
4335 - name : Unshallow clone for tags
6759 runs-on : ubuntu-latest
6860 needs : publish_binary
6961 steps :
70- # TODO: remove when this repo is made public
71- - name : Configure Git for Private Modules
72- run : |
73- git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com"
74- # Sets GOPRIVATE and GONOSUMDB in order to use the git authentication for go mod.
75- echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
76- echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
77- # TODO: remove end
7862 - name : Checkout Repo
7963 uses : actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # tag=v4.2.2
8064 - name : Unshallow clone for tags
Original file line number Diff line number Diff line change 2222 steps :
2323 - name : Checkout
242425- # TODO: remove when this repo is made public
26- - name : Configure Git for Private Modules
27- run : |
28- git config --global url."https://oauth2:${{ secrets.PR_TOKEN }}@github.com".insteadOf "https://github.com"
29- # Sets GOPRIVATE and GONOSUMDB in order to use the git authetnication for go mod.
30- echo "GOPRIVATE=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
31- echo "GONOSUMDB=github.com/${{ github.repository }}/*,github.com/stackitcloud/*" >> $GITHUB_ENV
32- # TODO: remove end
3325 - name : Unshallow clone for tags
3426 run : git fetch --prune --unshallow --tags
3527 - name : Install Go Tools
You can’t perform that action at this time.
0 commit comments