1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00

GitHub Actions: cp bin for Cypress

This commit is contained in:
Chen-I Lim 2021-01-06 10:22:54 -08:00
parent f0a5c424af
commit 759ed8d8c7
2 changed files with 5 additions and 2 deletions

View File

@ -28,6 +28,9 @@ jobs:
- name: Build server Linux package
run: make server-linux-package
- name: Copy server binary for Cypress
run: cp bin/linux/octoserver bin/
- uses: actions/upload-artifact@v1
with:
name: octo-linux-amd64.tar.gz

View File

@ -24,7 +24,7 @@ server-linux:
cd server; env GOOS=linux GOARCH=amd64 go build -o ../bin/linux/octoserver ./main
server-win:
cd server; env GOOS=windows GOARCH=amd64 go build -o ../bin/octoserver.exe ./main
cd server; env GOOS=windows GOARCH=amd64 go build -o ../bin/win/octoserver.exe ./main
server-linux-package: server-linux webapp
rm -rf package
@ -74,7 +74,7 @@ mac-app: server-mac webapp
win-app: server-win webapp
cd win; make build
mkdir -p win/dist/bin
cp -R bin/octoserver.exe win/dist/bin
cp -R bin/win/octoserver.exe win/dist/bin
cp -R config.json win/dist
mkdir -p win/dist/webapp
cp -R webapp/pack win/dist/webapp/pack