Skip to content

Commit

Permalink
feat: update ci to use docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanzyTHEbar committed May 11, 2023
1 parent 02ec38c commit 278cf82
Showing 1 changed file with 3 additions and 28 deletions.
31 changes: 3 additions & 28 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,18 +93,6 @@ jobs:
with:
workspaces: "./src-tauri -> target"

#- name: Install dependencies (ubuntu only)
# if: matrix.platform == 'ubuntu-latest'
# run: |
# sudo apt-get update
# sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
#
#- name: Install dependencies (PNPM)
# run: |
# npm install -g pnpm
# npm install -g typescript
# pnpm install

- name: Build the app
if: matrix.platform == 'windows-latest' || matrix.platform == 'macos-latest'
uses: JonasKruckenberg/tauri-build@v1.2.3
Expand Down Expand Up @@ -133,25 +121,12 @@ jobs:
with:
name: ${{ matrix.platform }}-software
#path: "./ESP/.pio/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/${{ env.FIRMWARE_NAME }}.bin"
path: "src-tauri/target/release/bundle/**/*.{deb,AppImage}"

path: |
"src-tauri/target/release/bundle/deb/*.deb"
"src-tauri/target/release/bundle/appimage/*.AppImage"
retention-days: 5
if-no-files-found: error

#- name: Build the app
# uses: tauri-apps/tauri-action@v0
# env:
# GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
# TAURI_PRIVATE_KEY: ${{ env.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD: ${{ env.TAURI_KEY_PASSWORD }}
# with:
# # tauri-action replaces \_\_VERSION\_\_ with the app version
# tagName: eyetrackvr-v__VERSION__
# releaseName: "EyeTrackApp v__VERSION__" # name of the release
# releaseBody: "See the assets to download this version and install." # message to include in the release
# releaseDraft: true # set to false to publish the release as a finished product
# prerelease: false # set to true to mark the release as a pre-release

deploy:
runs-on: ubuntu-latest
name: Deploy
Expand Down

0 comments on commit 278cf82

Please sign in to comment.