Skip to content

Commit

Permalink
build: fix release workflow for mmclient
Browse files Browse the repository at this point in the history
  • Loading branch information
colinmarc committed Apr 26, 2024
1 parent c3ffa3f commit 6815240
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release-mmclient.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
targets: x86_64-unknown-linux-gnu

- name: install deps
run: sudo apt install \
nasm cmake protobuf-compiler libxkbcommon-dev libwayland-dev \
ffmpeg libavutil-dev libavformat-dev libavdevice-dev libavfilter-dev
run: |
sudo apt install \
nasm cmake protobuf-compiler libxkbcommon-dev libwayland-dev libasound2-dev \
ffmpeg libavutil-dev libavformat-dev libavdevice-dev libavfilter-dev
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2
Expand Down Expand Up @@ -48,7 +49,9 @@ jobs:
targets: aarch64-apple-darwin

- name: install deps
run: brew install ffmpeg@6
run: |
brew install ffmpeg@6 protobuf
brew link ffmpeg@6
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2
Expand All @@ -65,7 +68,7 @@ jobs:
cp -r mm-client/target/aarch64-apple-darwin/release/mmclient README.md \
"${RUNNER_TEMP}/${GITHUB_REF_NAME}"
cp LICENSES/MIT.txt "${RUNNER_TEMP}/${GITHUB_REF_NAME}/LICENSE.txt"
tar -C "${RUNNER_TEMP}" --numeric-owner -cvzf "${GITHUB_REF_NAME}-darwin-arm64.tar.gz" "$GITHUB_REF_NAME"
gtar -C "${RUNNER_TEMP}" --numeric-owner -cvzf "${GITHUB_REF_NAME}-darwin-arm64.tar.gz" "$GITHUB_REF_NAME"
- name: upload tarball
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 6815240

Please sign in to comment.