Skip to content

Commit

Permalink
Update build-kernel-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWildJames authored Mar 4, 2025
1 parent 1eb07d1 commit 57ced63
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build-kernel-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,17 +332,13 @@ jobs:
git tag $NEW_TAG
git push --tags
- name: Get Current Workflow Run ID
run: |
echo "RUN_ID=${{ github.run_id }}" >> $GITHUB_ENV
echo "Current Workflow Run ID: ${{ github.run_id }}"
- name: List Available Artifacts
run: |
echo "Fetching artifacts from current workflow run: $RUN_ID"
gh run view $RUN_ID --log | grep "Artifacts:" -A 10 | sed 's/Artifacts: //' > artifacts.txt || echo "No artifacts found."
echo "Fetching artifacts from current workflow run..."
gh run list --json name -q '.[].name' > artifacts.txt || echo "No artifacts found."
- name: Filter Kernel Artifacts
id: filter
run: |
echo "Filtering artifacts matching kernel-*..."
grep "^kernel-" artifacts.txt > filtered_artifacts.txt || true
Expand All @@ -356,7 +352,7 @@ jobs:
echo "Downloading artifact: $artifact"
gh run download --name "$artifact" --dir ./downloaded-artifacts
done < filtered_artifacts.txt
- name: List Downloaded Artifacts
run: |
echo "Downloaded kernel-* artifacts:"
Expand Down

0 comments on commit 57ced63

Please sign in to comment.