build #768
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 | |
- 'renovate/**' | |
pull_request: | |
schedule: | |
- cron: '0 1 * * *' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.distro == 'jammy' }} | |
strategy: | |
# some versions are not builable on jammy | |
fail-fast: false | |
matrix: | |
distro: | |
- focal | |
- jammy | |
arch: | |
- x86_64 | |
- aarch64 | |
env: | |
DISTRO: ${{ matrix.distro }} # build target, name required by binary-builder | |
ARCH: ${{ matrix.arch }} # build target, name required by binary-builder | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- name: binary-builder | |
uses: containerbase/internal-tools@7588da10edd30f123b9462ec253f60d497e6951a # v1.21.28 | |
with: | |
command: binary-builder | |
dry-run: ${{github.ref != 'refs/heads/main'}} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
with: | |
name: ${{ env.DISTRO }} | |
path: .cache/*.tar.xz |