1
0
Fork 0
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:
Andrew Simachev 2024-04-23 16:21:36 +02:00
parent ef41041e4d
commit 3fb2d1033a
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8

View file

@ -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