Skip to content

Commit

Permalink
Don't build on uknown platforms, reset runs-on.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Oct 23, 2024
1 parent d06f115 commit 531537d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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/}"
Expand Down

0 comments on commit 531537d

Please sign in to comment.