-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: see if this pulls in all git tags and branches
Signed-off-by: Eric Promislow <epromislow@suse.com>
- Loading branch information
1 parent
c2d4a9d
commit 59cc6cf
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,10 @@ jobs: | |
- uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
depth: 0 | ||
# Needed to run `git describe` to get full version info | ||
fetch-depth: 0 | ||
# Get the tags as well | ||
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ericpromislow
via email
Author
Contributor
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14.x' | ||
|
This shouldn't be necessary,
fetch-depth: 0
should fetch all tags as well:actions/checkout#258