Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/update-mlir-aie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
permissions:
contents: write
pull-requests: write
actions: write

jobs:
check-and-update:
Expand Down Expand Up @@ -66,6 +67,7 @@ jobs:

# Update requirements.txt
sed -i "s|==${{ steps.current_version.outputs.version }}|==${{ steps.latest_release.outputs.tag }}|" requirements.txt
sed -i "s|mlir-aie/releases/expanded_assets/.*|mlir-aie/releases/expanded_assets/${{ steps.latest_release.outputs.tag_with_v }}|" requirements.txt

# Commit changes
git add requirements.txt
Expand All @@ -81,6 +83,12 @@ jobs:
--head $new_branch \
--title "Update mlir-aie from v${{ steps.current_version.outputs.version }} to ${{ steps.latest_release.outputs.tag_with_v }}" \
--body-file -

# Trigger CI workflows
echo "Triggering CI workflows..."
gh workflow run ci-lint.yml --ref $new_branch
gh workflow run small.yml --ref $new_branch
gh workflow run test-examples.yml --ref $new_branch

- name: No new version found
if: steps.current_version.outputs.version == steps.latest_release.outputs.tag
Expand Down