bump: glasgow #40865
This file contains hidden or 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
| # for each folder in anda/ | |
| # generate a new workflow for each folder in anda/ | |
| name: Automatically build packages | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| paths: | |
| - anda/** | |
| branches: | |
| - frawhide | |
| pull_request: | |
| branches: | |
| - frawhide | |
| merge_group: | |
| branches: | |
| - frawhide | |
| workflow_dispatch: | |
| workflow_call: | |
| jobs: | |
| manifest: | |
| runs-on: ubuntu-24.04-arm | |
| outputs: | |
| build_matrix: ${{ steps.generate_build_matrix.outputs.build_matrix }} | |
| container: | |
| image: ghcr.io/terrapkg/builder:frawhide | |
| options: --cap-add=SYS_ADMIN --privileged | |
| steps: | |
| - name: Set workspace as safe | |
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Generate build matrix | |
| id: generate_build_matrix | |
| run: anda ci >> $GITHUB_OUTPUT | |
| build: | |
| needs: manifest | |
| uses: ./.github/workflows/json-build.yml | |
| secrets: inherit | |
| with: | |
| packages: ${{ needs.manifest.outputs.build_matrix }} | |
| publish: ${{ github.event_name == 'push' }} |