From 531537d4db5b3dfb3a696ed62a44b96626f90360 Mon Sep 17 00:00:00 2001 From: Maksym Sobolyev Date: Wed, 23 Oct 2024 09:00:37 -0700 Subject: [PATCH] Don't build on uknown platforms, reset runs-on. --- .github/workflows/build_and_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 2ebbdaa..e97a53d 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -25,7 +25,7 @@ permissions: jobs: build_and_test: # The type of runner that the job will run on - runs-on: [self-hosted, linux, x64] + runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -181,7 +181,7 @@ jobs: fi PLATFORMS="`docker manifest inspect ${{ env.BASE_IMAGE }} | \ jq -r '.manifests[] | "\(.platform.os)/\(.platform.architecture)\(if .platform.variant != null then "/\(.platform.variant)" else "" end)"' | \ - sort -u | ${FILT} | paste -sd ','`" + sort -u | grep -v unknown | ${FILT} | paste -sd ','`" echo "PLATFORMS=${PLATFORMS}" >> $GITHUB_ENV GIT_BRANCH="${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" GIT_BRANCH="${GIT_BRANCH#refs/tags/}"