Update dependency.repos #15
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: | |
branches: | |
- main | |
paths: | |
- "dependency.repos" | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Free Disk Space (Ubuntu) | |
uses: jlumbroso/free-disk-space@main | |
with: | |
tool-cache: false | |
- name: Change data-dir | |
run: | | |
sudo systemctl stop docker | |
sudo rm -rf /var/lib/docker | |
sudo mkdir /mnt/docker | |
sudo ln -s /mnt/docker /var/lib/docker | |
sudo systemctl start docker | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- name: Clone repositories | |
run: | | |
pip3 install vcstool | |
mkdir -p external | |
vcs import external < dependency.repos | |
vcs pull external | |
- name: Build and publish packages | |
uses: ForteFibre/fortefibre_github_action/create_debian_packages_batch@main | |
with: | |
s3_bucket: "fortefibre-apt" | |
s3_access_key_id: ${{ secrets.S3_KEY_ID }} | |
s3_access_key_secret: ${{ secrets.S3_KEY_SECRET }} | |
s3_endpoint: ${{ secrets.S3_ENDPOINT }} | |
gpg_private_key: ${{ secrets.GPG_KEY }} | |
gpg_fingerprint: 6FD24526DB354C619705230B69ACCD996E5940A7 |