ci: fix ref for 2.x branch

This commit is contained in:
Daniel Roe 2023-02-02 10:50:16 +00:00
parent dd0e2643c4
commit 21badd9f2b

View File

@ -10,7 +10,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
ref: 'refs/heads/2.x' ref: 'refs/remotes/origin/2.x'
fetch-depth: 0 # All history fetch-depth: 0 # All history
- name: fetch tags - name: fetch tags
run: git fetch --depth=1 origin "+refs/tags/*:refs/tags/*" run: git fetch --depth=1 origin "+refs/tags/*:refs/tags/*"