ffmpeg-amd64 #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ffmpeg-amd64 | |
| on: | |
| workflow_dispatch: | |
| # manual trigger | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| TIMESTAMP: ${{ github.run_id }}_${{ github.run_number }} | |
| ARCH: amd64 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Set file permissions | |
| run: | | |
| chmod +x configs/ffmpeg-for-lambda/build.sh | |
| chmod +x configs/ffmpeg-for-lambda/amd64/build.sh | |
| - name: Build FFmpeg for AMD64 | |
| run: | | |
| cd configs/ffmpeg-for-lambda/ | |
| ./build.sh --amd64-only --timestamp ${TIMESTAMP} | |
| - name: List artifact directories | |
| run: | | |
| echo "Checking for build artifacts..." | |
| echo "Working directory: $(pwd)" | |
| ls -la configs/ffmpeg-for-lambda/build/ || echo "configs/ffmpeg-for-lambda/build/ directory not found" | |
| ls -la configs/ffmpeg-for-lambda/build/archive/ || echo "configs/ffmpeg-for-lambda/build/archive/ directory not found" | |
| ls -la configs/ffmpeg-for-lambda/build/archive/$TIMESTAMP/ || echo "configs/ffmpeg-for-lambda/build/archive/$TIMESTAMP/ directory not found" | |
| find configs/ffmpeg-for-lambda/ -name "*.zip" -type f | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ffmpeg-amd64-build | |
| path: configs/ffmpeg-for-lambda/build/archive/${{ env.TIMESTAMP }} | |
| retention-days: 7 | |
| if-no-files-found: warn |