Skip to content

Commit

Permalink
chore(misc): uses the nx-cloud-workflows templated step for git check…
Browse files Browse the repository at this point in the history
…out (#19599)
  • Loading branch information
scritchley authored Oct 13, 2023
1 parent aaa133a commit 6857155
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .nx/workflows/agents.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ env:
NX_CLOUD_ACCESS_TOKEN: '{{secrets.NX_CLOUD_ACCESS_TOKEN}}'
steps:
- name: Git Clone
script: |
git init .
git remote add origin $GIT_REPOSITORY_URL
git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +{{nxCommitSha}}:{{nxCommitRef}}
git checkout --progress --force -B {{nxBranch}} {{nxCommitRef}}
uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/checkout/main.yaml'

- name: Restore cache
script: |
Expand Down

0 comments on commit 6857155

Please sign in to comment.