Download the correct file when there are multiple versions of a package binary (#10152)

This commit is contained in:
Maximilian Downey Twiss
2024-08-05 14:24:48 +10:00
committed by GitHub
parent cbd2d8f282
commit 2249eee24e
6 changed files with 60 additions and 15 deletions

View File

@@ -39,9 +39,9 @@ jobs:
ruby ../tests/buildsystem_test $file ; \
done ) || true ) && \
cd ~ && \
git clone --depth=1 https://github.com/chromebrew/chromebrew.git build_test && \
git clone --depth=1 --branch=${{ github.head_ref }} ${{ github.event.pull_request.head.repo.clone_url }} build_test && \
cd build_test && \
yes | CREW_CACHE_ENABLED=1 crew build -f packages/hello_world_chromebrew.rb"
crew build -f packages/hello_world_chromebrew.rb"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
# This is not the best way to do things, a matrix would certainly be better.
@@ -62,6 +62,6 @@ jobs:
ruby ../tests/buildsystem_test $file ; \
done ) || true ) && \
cd ~ && \
git clone --depth=1 https://github.com/chromebrew/chromebrew.git build_test && \
git clone --depth=1 --branch=${{ github.head_ref }} ${{ github.event.pull_request.head.repo.clone_url }} build_test && \
cd build_test && \
yes | CREW_CACHE_ENABLED=1 crew build -f packages/hello_world_chromebrew.rb"
crew build -f packages/hello_world_chromebrew.rb"