diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 22a519e..1b9e312 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -64,7 +64,7 @@ jobs: - uses: actions/checkout@v3 - name: build tauri for MacOS - uses: teaxyz/setup@v0 + # uses: teaxyz/setup@v0 if: startsWith(matrix.platform.name, 'darwin') # FROM: https://tauri.app/v1/guides/distribution/sign-macos env: @@ -77,19 +77,14 @@ jobs: # this only helps in notarization # APPLE_ID: ${{ secrets.APPLE_ID }} # APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} - with: - target: build + run: | + sh <(curl https://tea.xyz) -ES xc build - name: build tauri for Linux # uses: teaxyz/setup@v0 if: startsWith(matrix.platform.name, 'linux') # TODO: https://tauri.app/v1/guides/distribution/sign-linux - run: | - sudo apt-get update - sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf pkg-config - sh <(curl https://tea.xyz) --yes - tea . - tea xc build + uses: ./devops/ubuntu - name: Get current unix ts - seconds id: date diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1880a32..a20cb55 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,6 @@ jobs: echo "extension=$EXTENSION" >> $GITHUB_OUTPUT - name: build tauri for MacOS - uses: teaxyz/setup@v0 if: startsWith(matrix.platform.name, 'darwin') # FROM: https://tauri.app/v1/guides/distribution/sign-macos env: @@ -47,17 +46,14 @@ jobs: # this only helps in notarization # APPLE_ID: ${{ secrets.APPLE_ID }} # APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} - with: - target: build + run: | + sh <(curl https://tea.xyz) -ES xc build - name: build tauri for Linux # uses: teaxyz/setup@v0 if: startsWith(matrix.platform.name, 'linux') # TODO: https://tauri.app/v1/guides/distribution/sign-linux - run: | - sudo apt-get update - sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf pkg-config - sh <(curl https://tea.xyz) xc build + uses: ./devops/ubuntu - name: Get current unix ts - seconds