chore(deps): update actions/checkout action to v5 #61
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
| name: Build licensekey application | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - 'licensekey/**' | |
| - '!licensekey/README.md' | |
| - '.github/workflows/licensekey.yml' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| axis-os: ["10.12.153"] | |
| arch: ["armv7hf", "aarch64"] | |
| env: | |
| EXREPO: acap3-examples | |
| EXNAME: licensekey | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: docker/setup-buildx-action@v3 | |
| - name: Build ${{ env.EXNAME }} application | |
| env: | |
| imagetag: ${{ env.EXREPO }}_${{ env.EXNAME }}:${{ matrix.arch }} | |
| run: | | |
| docker image rm -f $imagetag | |
| cd $EXNAME | |
| docker build --no-cache --tag $imagetag --build-arg ARCH=${{ matrix.arch }} . | |
| docker cp $(docker create $imagetag):/opt/app ./build | |
| cd .. | |
| docker image rm -f $imagetag |