From 8fc8904f69716dbdefb01f46438c9912f1ef6dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Thu, 29 Aug 2024 10:00:48 -0700 Subject: [PATCH] Test build --- .github/workflows/kernels.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/kernels.yml b/.github/workflows/kernels.yml index cecc31d..2102737 100644 --- a/.github/workflows/kernels.yml +++ b/.github/workflows/kernels.yml @@ -8,9 +8,6 @@ name: Kernels on: push: - branches: [ "master" ] - paths: - - 'tests/KERNELS' concurrency: # Ensure only a single instance of this job is run at any time @@ -32,16 +29,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - existing=$(gh release view test_assets --json assets --jq '.[][].name') - # Begin multiline output parameter echo "NEEDED_KERNELS<> "$GITHUB_OUTPUT" - echo "$existing" | python3 -c ' + python3 -c ' import sys # Calculate kernels that have already been uploaded - existing = {line.strip() for line in sys.stdin} with open("./tests/KERNELS", "r") as f: lines = {line.strip() for line in f if line.strip()} @@ -49,8 +43,7 @@ jobs: for line in lines: parts = line.split() name = f"bzImage-{parts[0]}-{parts[1]}" - if name not in existing: - print(line) + print(line) ' | tee -a "$GITHUB_OUTPUT" # End multiline output parameter