Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

chore: ci updates

Louis Beaumont0555198c558e
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index f0bb9c8c2..927b275c9 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -80,6 +80,18 @@ jobs:
override: true
target: ${{ matrix.target }}
+ - name: Cache Homebrew packages
+ if: matrix.platform == 'macos-latest'
+ uses: actions/cache@v3
+ with:
+ path: |
+ ~/Library/Caches/Homebrew
+ /usr/local/Cellar/ffmpeg
+ /usr/local/Cellar/pkg-config
+ key: ${{ runner.os }}-brew-${{ hashFiles('.github/workflows/release-cli.yml') }}
+ restore-keys: |
+ ${{ runner.os }}-brew-
+
- name: Cache Pre Build
id: cache-pre-build
uses: actions/cache@v4
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index b6639bd5d..862de9870 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -56,8 +56,8 @@ jobs:
- name: Build with Metal feature
run: |
- # export PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"
- # export PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"
+ export PKG_CONFIG_ALLOW_CROSS=1
cargo build --release --features metal --target ${{ matrix.target }}
# get the current tag or take latest (in the case of a workflow dispatch)
@@ -73,8 +73,8 @@ jobs:
- name: Create deployment package
run: |
- # ls -R target/release
- tar -czf screenpipe-${{ env.VERSION }}-${{ matrix.target }}.tar.gz -C target/release screenpipe
+ ls -R target/
+ tar -czf screenpipe-${{ env.VERSION }}-${{ matrix.target }}.tar.gz -C target/${{ matrix.target }}/release screenpipe
- name: Calculate SHA256
run: |