Files
termux-packages/.github/workflows/bootstrap_archives.yml
2024-02-06 13:13:31 -05:00

39 lines
1.0 KiB
YAML

name: Generate bootstrap archives
on:
schedule:
- cron: "0 0 * * 0"
workflow_dispatch:
permissions: {} # none
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
permissions:
contents: read # actions/upload-artifact doesn't need contents: write
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- aarch64
- arm
- i686
- x86_64
if: github.repository == 'izzy2fancy/termux-packages'
steps:
- name: Git clone
uses: actions/checkout@v3
- name: Generate bootstrap packages list
run: ./scripts/run-docker.sh ./scripts/generate-bootstraps.sh --architectures ${{ matrix.arch }}
- name: Build bootstraps from local sources
run: ./scripts/run-docker.sh ./scripts/build-bootstraps.sh --architectures ${{ matrix.arch }}
- name: Store artifacts
uses: actions/upload-artifact@v3
with:
name: bootstrap-archives-${{ github.sha }}
path: "*.zip"