Skip to content

Commit

Permalink
Create ubuntubuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pawitpr authored May 12, 2023
1 parent bf257f2 commit 547b701
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ubuntubuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build and Upload Artifacts
on:
push:
branches: [ main ]

jobs:
build-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Build Server
run: |
go build server.go
echo "Server built successfully!"
ls
- name: Build Client
run: |
cd client/python
pip install pyinstaller
pip install requests
pyinstaller --onefile main.py
echo "Client built successfully!"
ls
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: server-and-client
path: |
./server
./client/python/dist/main

0 comments on commit 547b701

Please sign in to comment.