mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
add go setup to build.yml
This commit is contained in:
parent
ef41041e4d
commit
3fb2d1033a
1 changed files with 12 additions and 1 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -14,7 +14,6 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [ '1.22.1' ]
|
||||
os: [ macos-latest, ubuntu-latest, windows-latest ]
|
||||
|
||||
steps:
|
||||
|
@ -23,6 +22,18 @@ jobs:
|
|||
git config --global url."https://${{secrets.USER}}:${{secrets.TOKEN}}@github.com/".insteadOf "https://github.com/"
|
||||
git config --global url."https://${{secrets.USER}}:${{secrets.TOKEN}}@api.github.com/".insteadOf "https://api.github.com/"
|
||||
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.22
|
||||
|
||||
- name: Setup GO
|
||||
run: |
|
||||
go version
|
||||
echo GOPATH=$(go env GOPATH) >> $GITHUB_ENV
|
||||
echo GOBIN=$(go env GOPATH)/bin >> $GITHUB_ENV
|
||||
echo $(go env GOPATH)/bin >> $GITHUB_PATH
|
||||
|
||||
- name: Install AzureSignTool
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: dotnet tool install --global AzureSignTool
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue