Unverified Commit 6d5ddd7e authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Use actions/checkout for trigger release (#62854)

Removes custom cloning script in favor of `actions/checkout`

Closes NEXT-2702
parent 07e5b60a
...@@ -50,7 +50,9 @@ jobs: ...@@ -50,7 +50,9 @@ jobs:
node-version: 18 node-version: 18
check-latest: true check-latest: true
- run: git clone https://github.com/vercel/next.js.git --depth=25 . - uses: actions/checkout@v4
with:
fetch-depth: 25
- name: Get commit of the latest tag - name: Get commit of the latest tag
run: echo "LATEST_TAG_COMMIT=$(git rev-list -n 1 $(git describe --tags --abbrev=0))" >> $GITHUB_ENV run: echo "LATEST_TAG_COMMIT=$(git rev-list -n 1 $(git describe --tags --abbrev=0))" >> $GITHUB_ENV
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment