⬆️ 7.0.1 #101
This file contains 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: build | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download artifact - lame | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
repo: clearfraction/lame | |
workflow: build-core.yml | |
check_artifacts: true | |
- name: Download artifact - fdk-aac | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
repo: clearfraction/fdk-aac | |
workflow: build-core.yml | |
check_artifacts: true | |
- name: Download artifact - x264 | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
repo: clearfraction/x264 | |
workflow: build-core.yml | |
check_artifacts: true | |
- name: Download artifact - x265 | |
uses: dawidd6/action-download-artifact@v2 | |
with: | |
repo: clearfraction/x265 | |
workflow: build-core.yml | |
check_artifacts: true | |
- name: Building a package | |
run: | | |
curl -LO https://raw.githubusercontent.com/clearfraction/tools/master/build.sh && chmod +x build.sh | |
docker run --privileged --cap-add=SYS_ADMIN --security-opt apparmor:unconfined -v $(pwd):/home clearlinux:latest sh -c "cd /home && ./build.sh" | |
- name: Upload result | |
uses: actions/upload-artifact@v2 | |
with: | |
path: RPMS/*.rpm |