mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
Merge 7471b3f74d
into 3c81926f71
This commit is contained in:
commit
113f06a344
15
.github/workflows/test-backend.yml
vendored
15
.github/workflows/test-backend.yml
vendored
@ -44,7 +44,20 @@ jobs:
|
|||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
- name: Install FFmpeg
|
- name: Install FFmpeg
|
||||||
uses: FedericoCarboni/setup-ffmpeg@v3
|
run: |
|
||||||
|
for i in {1..3}; do
|
||||||
|
echo "Attempt $i: Installing FFmpeg..."
|
||||||
|
curl -s -L https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz && \
|
||||||
|
tar -xf ffmpeg.tar.xz && \
|
||||||
|
mv ffmpeg-*-static/ffmpeg /usr/local/bin/ && \
|
||||||
|
mv ffmpeg-*-static/ffprobe /usr/local/bin/ && \
|
||||||
|
rm -rf ffmpeg.tar.xz ffmpeg-*-static/ && \
|
||||||
|
break || sleep 10
|
||||||
|
if [ $i -eq 3 ]; then
|
||||||
|
echo "Failed to install FFmpeg after 3 attempts"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v4.0.4
|
uses: actions/setup-node@v4.0.4
|
||||||
with:
|
with:
|
||||||
|
15
.github/workflows/test-federation.yml
vendored
15
.github/workflows/test-federation.yml
vendored
@ -28,7 +28,20 @@ jobs:
|
|||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
- name: Install FFmpeg
|
- name: Install FFmpeg
|
||||||
uses: FedericoCarboni/setup-ffmpeg@v3
|
run: |
|
||||||
|
for i in {1..3}; do
|
||||||
|
echo "Attempt $i: Installing FFmpeg..."
|
||||||
|
curl -s -L https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz -o ffmpeg.tar.xz && \
|
||||||
|
tar -xf ffmpeg.tar.xz && \
|
||||||
|
mv ffmpeg-*-static/ffmpeg /usr/local/bin/ && \
|
||||||
|
mv ffmpeg-*-static/ffprobe /usr/local/bin/ && \
|
||||||
|
rm -rf ffmpeg.tar.xz ffmpeg-*-static/ && \
|
||||||
|
break || sleep 10
|
||||||
|
if [ $i -eq 3 ]; then
|
||||||
|
echo "Failed to install FFmpeg after 3 attempts"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v4.0.3
|
uses: actions/setup-node@v4.0.3
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user