Skip to content

Commit

Permalink
Use correct hash and date
Browse files Browse the repository at this point in the history
  • Loading branch information
jaisnan committed Jul 26, 2024
1 parent f7bdcb0 commit 524390a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update-subtree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,19 @@ jobs:
with:
path: head

- name: Add upstream remote
- name: Add upstream remote and fetch specific commit
working-directory: head
run: |
git remote add upstream https://github.com/rust-lang/rust.git
git fetch upstream
git fetch upstream ${{ needs.prepare.outputs.toolchain_date }}
- name: Prepare sync branch
working-directory: head
run: |
SYNC_BRANCH="sync-${{ steps.rust-info.outputs.toolchain_date }}"
SYNC_BRANCH="sync-${{ needs.prepare.outputs.toolchain_date }}"
echo "SYNC_BRANCH=$SYNC_BRANCH" >> $GITHUB_ENV
echo "--- Fork branch: ${SYNC_BRANCH} ---"
git checkout ${{ steps.rust-info.outputs.commit_hash }}
git checkout ${{ needs.prepare.outputs.commit_hash }}
git pull
# - name: Update subtree
Expand Down

0 comments on commit 524390a

Please sign in to comment.