Skip to content

Commit

Permalink
Update linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
retiutut committed Jul 28, 2023
1 parent 6a6346e commit a7647a8
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/linux_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,12 @@ jobs:
tar -xzvf processing-4.2-linux-x64.tgz
ls
- name: Move Processing.app to Applications
run: |
mv Processing.app /Applications/Processing.app
- name: Add Processing to PATH
run: |
export PATH=$TRAVIS_BUILD_DIR/temp/processing-4.2:$PATH
- name: Check GITHUB PATH
run: echo $GITHUB_PATH
run: echo $PATH

- name: Test processing-java command
run: |
Expand All @@ -74,7 +70,7 @@ jobs:
GUI_VERSION_STRING=`cat temp/versionstring.txt`
build_and_deploy:
name: Build, Sign, and Deploy for Linux
name: Build and Deploy for Linux
if: github.event_name == 'workflow_dispatch'
runs-on: ubuntu-20.04

Expand All @@ -93,20 +89,16 @@ jobs:

- name: Download and Unzip Processing
run: |
curl -O -L --insecure curl -O -L --insecure https://github.com/processing/processing4/releases/download/processing-1292-4.2/processing-4.2-linux-x64.tgz
curl -O -L --insecure https://github.com/processing/processing4/releases/download/processing-1292-4.2/processing-4.2-linux-x64.tgz
tar -xzvf processing-4.2-linux-x64.tgz
ls
- name: Move Processing.app to Applications
run: |
mv Processing.app /Applications/Processing.app
- name: Add Processing to PATH
run: |
export PATH=$TRAVIS_BUILD_DIR/temp/processing-4.2:$PATH
- name: Check GITHUB PATH
run: echo $GITHUB_PATH
run: echo $PATH

- name: Test processing-java command
run: |
Expand Down Expand Up @@ -147,6 +139,6 @@ jobs:
echo $GUI_COMMIT_TIME
echo $GUI_VERSION_STRING
echo $CURRENT_BRANCH
aws s3 rm s3://openbci-public-gui-v6/latest --recursive --exclude "*" --include "openbcigui_*_macosx.dmg"
aws s3 cp $GITHUB_WORKSPACE/. s3://openbci-public-gui-v6/${GUI_VERSION_STRING} --recursive --exclude "*" --include "openbcigui_*_macosx.dmg"
aws s3 cp $GITHUB_WORKSPACE/. s3://openbci-public-gui-v6/latest --recursive --exclude "*" --include "openbcigui_*_macosx.dmg"
aws s3 rm s3://openbci-public-gui-v6/latest --recursive --exclude "*" --include "openbcigui_*_linux64.zip"
aws s3 cp $GITHUB_WORKSPACE/. s3://openbci-public-gui-v6/${GUI_VERSION_STRING} --recursive --exclude "*" --include "openbcigui_*_linux64.zip"
aws s3 cp $GITHUB_WORKSPACE/. s3://openbci-public-gui-v6/latest --recursive --exclude "*" --include "openbcigui_*_linux64.zip"

0 comments on commit a7647a8

Please sign in to comment.