Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regenerate-target-info.yml #1060

Merged
merged 6 commits into from
May 4, 2024
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
9 changes: 5 additions & 4 deletions .github/workflows/regenerate-target-info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ jobs:

- name: Generate branch name
run: |
git checkout -b regenerate-target-info/${{ github.run_id }}
git checkout -b regenerate-target-info-${{ github.run_id }}

- name: Install rust
run: |
rustup toolchain install stable --no-self-update --profile minimal

rustup toolchain install stable nightly --no-self-update --profile minimal

- uses: Swatinem/rust-cache@v2
- name: Regenerate target info
run: cargo run -p gen-target-info

Expand All @@ -45,4 +46,4 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr create --base main --fill
gh pr create --base main --title "Update src/target_info.rs" --body "Automatically regenerated in CI"