mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-05-13 12:49:54 +02:00
Adding fetch tags even when fetch depth is greater than 0
This commit is contained in:
parent
f095bcc56b
commit
a1ab6b9f77
9 changed files with 1328 additions and 1305 deletions
|
@ -801,6 +801,7 @@ async function setup(testName: string): Promise<void> {
|
|||
clean: true,
|
||||
commit: '',
|
||||
fetchDepth: 1,
|
||||
fetchTags: false,
|
||||
lfs: false,
|
||||
submodules: false,
|
||||
nestedSubmodules: false,
|
||||
|
|
|
@ -80,6 +80,7 @@ describe('input-helper tests', () => {
|
|||
expect(settings.commit).toBeTruthy()
|
||||
expect(settings.commit).toBe('1234567890123456789012345678901234567890')
|
||||
expect(settings.fetchDepth).toBe(1)
|
||||
expect(settings.fetchTags).toBe(false)
|
||||
expect(settings.lfs).toBe(false)
|
||||
expect(settings.ref).toBe('refs/heads/some-ref')
|
||||
expect(settings.repositoryName).toBe('some-repo')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue