Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Add Linux .tar.gx output.
  • Loading branch information
kwagyeman authored Sep 4, 2023
1 parent 4d2c15f commit 44fff48
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ jobs:
run: |
sudo apt-get install -y chrpath
python make.py
python make.py --no-build-installer
version=$(ls build | grep -oP 'openmv-ide-linux-x86_64-\K[0-9]+\.[0-9]+\.[0-9]+(?=\.run)')
cd qt-creator/share/qtcreator
zip -r ../../../build/openmv-ide-resources-${version}.zip examples firmware html models
Expand All @@ -199,6 +200,13 @@ jobs:
with:
path: 'build/openmv-ide-*.${{ matrix.map.suffix }}'
if-no-files-found: error

- name: '⬆ Upload resources'
if: github.event_name != 'pull_request' && matrix.map.host == 'linux'
uses: actions/upload-artifact@v3
with:
path: 'build/openmv-ide-*.tar.gz'
if-no-files-found: error

- name: '⬆ Upload resources'
if: github.event_name != 'pull_request' && matrix.map.host == 'linux'
Expand Down

0 comments on commit 44fff48

Please sign in to comment.