You've already forked termux-packages
mirror of
https://github.com/izzy2lost/termux-packages.git
synced 2026-03-26 17:00:19 -07:00
39 lines
1.0 KiB
YAML
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"
|